hwdb: map Google Pixelbook (Eve) top row keys

Like other pre-Vivaldi Chromebooks, the Pixelbook's top row sends the
standard F1-F10 scancodes and Chrome OS translates them to actions in
userspace, so elsewhere the keys come through as F1-F10 even though
they are labelled Back, Refresh, Fullscreen, Overview, brightness down
and up, play/pause, mute and volume down and up. Map them to the
printed functions. Also map the menu key next to volume up (scancode
0x5d, F13 by default) to KEY_CONTROLPANEL and the Assistant key
(scancode 0xd8, which atkbd reports as unknown) to KEY_ASSISTANT, as
Chrome OS's own Eve hwdb does.

XKB_FIXED_MODEL=chromebook, used for Falco and Peppy, does not fit:
that model follows the original Chromebook top row (F2 Forward, F3
Refresh, brightness on F6/F7), while the Eve has Refresh on F2,
brightness on F5/F6, Play/Pause on F7 and no Forward key.

Tested on a Pixelbook with the DMI modalias
dmi:bvncoreboot:bvrGoogle_Eve.9584.230.0:...:svnGoogle:pnEve:...
This commit is contained in:
Sergey Tiraspolsky authored and Luca Boccassi committed 2026-10-10 11:12:51 +02:00
1 parent 32e38ebd76
commit 0490b976b9
1 file changed
+15
+15
View File
@@ -648,6 +648,21 @@ evdev:input:b0003v18D1p8001*
evdev:input:b0003v18D1p8007*
KEYBOARD_KEY_b002f=reserved # Disable micmute key
# Google Pixelbook (Eve)
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGoogle:pnEve:*
KEYBOARD_KEY_3b=back # F1 Back
KEYBOARD_KEY_3c=refresh # F2 Refresh
KEYBOARD_KEY_3d=zoom # F3 Fullscreen
KEYBOARD_KEY_3e=scale # F4 Overview
KEYBOARD_KEY_3f=brightnessdown # F5 Brightness down
KEYBOARD_KEY_40=brightnessup # F6 Brightness up
KEYBOARD_KEY_41=playpause # F7 Play/Pause
KEYBOARD_KEY_42=mute # F8 Mute
KEYBOARD_KEY_43=volumedown # F9 Volume down
KEYBOARD_KEY_44=volumeup # F10 Volume up
KEYBOARD_KEY_5d=controlpanel # Menu key
KEYBOARD_KEY_d8=assistant # Assistant key
###########################################################
# Haier
###########################################################