From 8350d0b9ec1f1b47e84549cb1cdd68127ed0e89b Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Sun, 13 Dec 2009 23:54:05 +0100 Subject: 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 Signed-off-by: Martin Pitt --- extras/keymap/keymaps/force-release/samsung-other | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extras/keymap/keymaps/force-release/samsung-other (limited to 'extras/keymap/keymaps/force-release/samsung-other') 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 -- cgit v1.2.3-54-g00ecf