Num lock toggle from external keyboard does not work |
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 10575.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Platform: 10575.58.0 (Official Build) stable-channel zako Steps to reproduce the problem: 1. Try to toggle num lock from an external keyboard or numeric keypad What is the expected behavior? Based on the numlock state, the keyboard numeric pad types either numbers or alternate keyboard events such as page up and page down. What went wrong? Num lock on the keyboard does not light up. The keypad only allows numbers to be typed. Did this work before? N/A Chrome version: 67.0.3396.99 Channel: n/a OS Version: 10575.58.0 Flash Version:
,
Jul 6
Chrome OS currently has no concept of a Num Lock state (same as MacOS and any other stragglers not descended from the 1981 IBM PC keyboard¹). Notes for anyone who might want to add MSDOS-style NumLock: - Look at CapsLock handling (ui::EF_CAPS_LOCK_ON). - NumLock probably doesn't need to be remappable. - NumLock probably doesn't need a held-down flag (as EF_MOD3_DOWN is to EF_CAPS_LOCK_ON)². - XKB-based layouts will probably work as expected. Note NumLock is Mod2 in XKB³. ¹ https://en.wikipedia.org/wiki/File:IBM_Model_F_XT.png ² https://cs.chromium.org/chromium/src/ui/events/ozone/evdev/keyboard_evdev.cc?rcl=0d2294665a71189cf92eaabca687eb26ba29aeac&l=101 ³ https://cs.chromium.org/chromium/src/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc?rcl=0d2294665a71189cf92eaabca687eb26ba29aeac&l=840
,
Jul 6
|
|||
►
Sign in to add a comment |
|||
Comment 1 by dtapu...@chromium.org
, Jul 6