summaryrefslogtreecommitdiff
path: root/extras/keymap/keymaps/module-lenovo
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-09-09 15:22:48 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-09-09 15:22:48 +0200
commit7f06ec2e19387424de34bae35320c2fe192cb69d (patch)
tree5b1cef1d0231a638f92288088ef78179b094cfb2 /extras/keymap/keymaps/module-lenovo
parent6983c0d0f2e396102118016eb7d9dafb3e193d57 (diff)
extras/keymap: Rename KEY_COFFEE to KEY_SCREENLOCK
Unfortunately KEY_COFFEE is the canonical name in linux/input.h, and the more sensible KEY_SCREENLOCK is an alias. Manually override this particular case, since it's better to have "screenlock" in keymaps. However, we still keep the automatic filtering for the general case, to avoid introducing this problem again when input.h changes.
Diffstat (limited to 'extras/keymap/keymaps/module-lenovo')
-rw-r--r--extras/keymap/keymaps/module-lenovo2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/keymap/keymaps/module-lenovo b/extras/keymap/keymaps/module-lenovo
index 82be94f372..7c597bd851 100644
--- a/extras/keymap/keymaps/module-lenovo
+++ b/extras/keymap/keymaps/module-lenovo
@@ -1,4 +1,4 @@
-0x1 coffee # Fn+F2
+0x1 screenlock # Fn+F2
0x2 battery # Fn+F3
0x3 sleep # Fn+F4
0x4 wlan # Fn+F5