Skip to content

Instantly share code, notes, and snippets.

@hadess
Last active December 20, 2015 14:49
Show Gist options
  • Save hadess/6149812 to your computer and use it in GitHub Desktop.
Save hadess/6149812 to your computer and use it in GitHub Desktop.
2 things left to fix up before sending upstream: * we need a key for "maximise the window" in input.h * somebody with actual hardware need to change the usb identifier to match :) See also: * https://bugzilla.gnome.org/show_bug.cgi?id=705434 * https://bugzilla.gnome.org/show_bug.cgi?id=705432 for GNOME support
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index 0ee65d7..70f77bb 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -341,6 +341,24 @@ keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*
KEYBOARD_KEY_0900fc=screenlock
###########################################################
+# Google
+###########################################################
+
+# Chromebook Pixel
+# See: https://support.google.com/chromeos/answer/1047364?hl=en
+keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*
+ KEYBOARD_KEY_f1=back
+ KEYBOARD_KEY_f2=forward
+ KEYBOARD_KEY_f3=reload
+ KEYBOARD_KEY_f4=reload #FIXME no maximise in input.h
+ KEYBOARD_KEY_f5=cyclewindows
+ KEYBOARD_KEY_f6=brightnessdown
+ KEYBOARD_KEY_f7=brightnessup
+ KEYBOARD_KEY_f8=mute
+ KEYBOARD_KEY_f9=volumeup
+ KEYBOARD_KEY_f10=volumedown
+
+###########################################################
# Hewlett Packard
###########################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment