From 52118a82743e4ca65d5be01c304685d265b5f7a7 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Thu, 4 Nov 2010 23:58:56 +0000
Subject: [PATCH] extras/keymap: Fix touchpad toggle buttons used
See:
https://bugs.freedesktop.org/show_bug.cgi?id=31333
---
extras/keymap/keymaps/acer | 2 +-
extras/keymap/keymaps/dell | 4 ++--
extras/keymap/keymaps/everex-xt5000 | 2 +-
extras/keymap/keymaps/hewlett-packard-2510p_2530p | 4 ++--
extras/keymap/keymaps/hewlett-packard-pavilion | 4 ++--
extras/keymap/keymaps/hewlett-packard-tx2 | 2 +-
.../lenovo-thinkpad-usb-keyboard-trackpoint | 2 +-
extras/keymap/keymaps/lg-x110 | 4 ++--
extras/keymap/keymaps/micro-star | 2 +-
extras/keymap/keymaps/module-lenovo | 2 +-
extras/keymap/keymaps/onkyo | 2 +-
extras/keymap/keymaps/samsung-other | 2 +-
extras/keymap/keymaps/samsung-sx20s | 4 ++--
extras/keymap/keymaps/toshiba-satellite_a110 | 4 ++--
extras/keymap/keymaps/toshiba-satellite_m30x | 4 ++--
extras/keymap/keymaps/zepto-znote | 2 +-
16 files changed, 23 insertions(+), 23 deletions(-)
@@ -14,7 +14,7 @@
0xEE brightnessup # Fn+Right
0xEF brightnessdown # Fn+Left
0xF1 f22 # Fn+F7 Touchpad toggle (off-to-on)
-0xF2 f22 # Fn+F7 Touchpad toggle (on-to-off)
+0xF2 f23 # Fn+F7 Touchpad toggle (on-to-off)
0xF3 prog2 # "P2" programmable button
0xF4 prog1 # "P1" programmable button
0xF5 presentation
@@ -21,9 +21,9 @@
0x99 nextsong # Front panel next song
0x9A setup # Tablet tools button
0x9B switchvideomode # Display Toggle button
-0x9E f22 #touchpad toggle
+0x9E f21 #touchpad toggle
0xA2 playpause # Front panel play/pause
0xA4 stopcd # Front panel stop
0xED media # MediaDirect button
0xD8 screenlock # FIXME: Tablet lock button
-0xD9 f22 # touchpad toggle
+0xD9 f21 # touchpad toggle
@@ -1,5 +1,5 @@
0x5C media
-0x65 f22 # Fn+F5 Touchpad toggle
+0x65 f21 # Fn+F5 Touchpad toggle
0x67 prog3 # Fan Speed Control button
0x6F brightnessup
0x7F brightnessdown
@@ -1,2 +1,2 @@
-0xD8 f22 # touchpad off
-0xD9 f23 # touchpad on
+0xD8 f23 # touchpad off
+0xD9 f22 # touchpad on
@@ -1,3 +1,3 @@
0x88 media # FIXME: quick play
-0xD8 f22 # touchpad off
-0xD9 f23 # touchpad on
+0xD8 f23 # touchpad off
+0xD9 f22 # touchpad on
@@ -1,3 +1,3 @@
0xC2 media
-0xD8 f22 # Toggle touchpad button on tx2 (OFF)
+0xD8 f23 # Toggle touchpad button on tx2 (OFF)
0xD9 f22 # Toggle touchpad button on tx2 (ON)
@@ -2,7 +2,7 @@
0x90013 battery # Fn+F3
0x90014 wlan # Fn+F5
0x90016 switchvideomode # Fn+F7
-0x90017 f22 # Fn+F8 touchpadtoggle
+0x90017 f21 # Fn+F8 touchpadtoggle
0x90019 suspend # Fn+F12
0x9001A brightnessup # Fn+Home
0x9001B brightnessdown # Fn+End
@@ -6,7 +6,7 @@
0xB3 suspend # Fn-F12
0xDF sleep # Fn-F4
# 0xE2 bluetooth # satellite dish2
-0xE4 f22 # Fn-F5 Touchpad disable
+0xE4 f21 # Fn-F5 Touchpad disable
0xF6 wlan # Fn-F6
0xF7 reserved # brightnessdown # Fn-Down
-0xF8 reserved # brightnessup # Fn-Up
\ No newline at end of file
+0xF8 reserved # brightnessup # Fn-Up
@@ -4,7 +4,7 @@
0xB2 www # e button
0xDF sleep # Fn-F12
0xE2 bluetooth # satellite dish2
-0xE4 f22 # Fn-F3 Touchpad disable
+0xE4 f21 # Fn-F3 Touchpad disable
0xEC email # envelope button
0xEE camera # Fn-F6 camera disable
0xF6 wlan # satellite dish1
@@ -3,7 +3,7 @@
0x3 sleep # Fn+F4
0x4 wlan # Fn+F5
0x6 switchvideomode # Fn+F7
-0x7 f22 # Fn+F8 touchpadtoggle
+0x7 f21 # Fn+F8 touchpadtoggle
0x8 f24 # Fn+F9 undock
0xB suspend # Fn+F12
0xF brightnessup # Fn+Home
@@ -8,7 +8,7 @@
0xF0 media # Fn+R
0xF5 switchvideomode # Fn+E
0xF6 camera # Fn+T
-0xF7 f22 # Fn+Y (touchpad toggle)
+0xF7 f21 # Fn+Y (touchpad toggle)
0xF8 brightnessup # Fn+S
0xF9 brightnessdown # Fn+A
0xFB wlan # Fn+J
@@ -11,4 +11,4 @@
0xB3 prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
0xB4 wlan # Fn+F9 (X60P)
0xF7 f22 # Fn+F10 Touchpad on
-0xF9 f22 # Fn+F10 Touchpad off
+0xF9 f23 # Fn+F10 Touchpad off
@@ -1,4 +1,4 @@
0x74 mute
0x75 mute
-0x77 f21 # FIXME: Touchpad on
-0x79 f21 # FIXME: Touchpad off
+0x77 f22 # Touchpad on
+0x79 f23 # Touchpad off
@@ -1,8 +1,8 @@
0x92 stop
0x93 www
0x94 media
-0x9E f21 # FIXME: Touchpad on
-0x9F f21 # FIXME: Touchpad off
+0x9E f22 # Touchpad on
+0x9F f23 # Touchpad off
0xB9 nextsong
0xD9 brightnessup
0xEE screenlock
@@ -2,6 +2,6 @@
0xd9 brightnessup
0xee screenlock
0x93 media
-0x9e prog1 #touchpad_enable
-0x9f prog2 #touchpad_disable
+0x9e f22 #touchpad_enable
+0x9f f23 #touchpad_disable
@@ -1,7 +1,7 @@
0x93 switchvideomode # Fn+F3 Toggle Video Output
0x95 brightnessdown # Fn+F4 Brightness Down
0x91 brightnessup # Fn+F5 Brightness Up
-0xA5 f22 # Fn+F6 Disable Touchpad
+0xA5 f23 # Fn+F6 Disable Touchpad
0xA6 f22 # Fn+F6 Enable Touchpad
0xA7 bluetooth # Fn+F10 Enable Bluetooth
0XA9 bluetooth # Fn+F10 Disable Bluetooth
--
1.7.3.2