summaryrefslogtreecommitdiff
path: root/extras/keymap/keymaps
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2009-12-13 23:54:05 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2009-12-14 19:19:35 +0100
commit8350d0b9ec1f1b47e84549cb1cdd68127ed0e89b (patch)
tree8ca8434da02e2776ecd925de7958eaa36b3c7acd /extras/keymap/keymaps
parent92b8cea053c41315b57439400de9821928445fb3 (diff)
keymap: handle atkbd force_release quirk
Some laptop keyboards don't generate release events for some hotkeys. Since linux-2.6.32 the list of scancodes for which to enable the force_release quirk can be set via sysfs. Apply this to Samsung N130. Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras/keymap/keymaps')
-rw-r--r--extras/keymap/keymaps/force-release/samsung-other10
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/keymap/keymaps/force-release/samsung-other b/extras/keymap/keymaps/force-release/samsung-other
new file mode 100644
index 0000000000..c51123a0b6
--- /dev/null
+++ b/extras/keymap/keymaps/force-release/samsung-other
@@ -0,0 +1,10 @@
+# list of scancodes (hex or decimal), optional comment
+0x82 # Fn+F4 CRT/LCD
+0x83 # Fn+F2 battery
+0x84 # Fn+F5 backlight on/off
+0x86 # Fn+F9 WLAN
+0x88 # Fn-Up brightness up
+0x89 # Fn-Down brightness down
+0xB3 # Fn+F8 switch power mode (battery/dynamic/performance)
+0xF7 # Fn+F10 Touchpad on
+0xF9 # Fn+F10 Touchpad off