Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152839430
D21565.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21565.id.diff
View Options
Index: sys/dev/atkbdc/atkbd.c
===================================================================
--- sys/dev/atkbdc/atkbd.c
+++ sys/dev/atkbdc/atkbd.c
@@ -769,6 +769,11 @@
case 0x53: /* grey delete key */
keycode = 0x67;
break;
+ /* the following key is only used on Chromebooks */
+ case 0x58: /* Google Assistant key */
+ /* interpret as right meta because the capslock is left meta */
+ keycode = 0x5a;
+ break;
/* the following 3 are only used on the MS "Natural" keyboard */
case 0x5b: /* left Window key */
keycode = 0x69;
Index: sys/dev/evdev/evdev_utils.c
===================================================================
--- sys/dev/evdev/evdev_utils.c
+++ sys/dev/evdev/evdev_utils.c
@@ -175,7 +175,9 @@
NONE, KEY_RIGHT, NONE, KEY_END,
KEY_DOWN, KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE,
NONE, NONE, NONE, NONE,
- NONE, NONE, NONE, KEY_LEFTMETA,
+ /* 0x58 is the Google Assistant button on Chromebooks -
+ * interpret as right meta because capslock is left meta already */
+ KEY_RIGHTMETA, NONE, NONE, KEY_LEFTMETA,
KEY_RIGHTMETA, KEY_MENU, KEY_POWER, KEY_SLEEP,
/* 0x60 - 0x7f. 0xE0 prefixed */
NONE, NONE, NONE, KEY_WAKEUP,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 10:51 AM (16 h, 14 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31714814
Default Alt Text
D21565.id.diff (1 KB)
Attached To
Mode
D21565: atkbd,evdev: Interpret Google Assistant key on Chromebooks as right meta
Attached
Detach File
Event Timeline
Log In to Comment