diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-04-01 14:22:32 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-07-02 15:52:07 +0200 |
commit | 8bc376a37393cd466d91be17bf3a208a0ad1eeac (patch) | |
tree | bfe654cb00b6d62fcb15d2a89b56f1a3c51f6d75 /extras/keymap | |
parent | 86a62b0cf285b3eb9d953c6224cce30d811bc1b0 (diff) |
keymap: Add support for IBM-branded USB devices
These seem to use a different layout to the Lenovo-branded devices
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras/keymap')
-rw-r--r-- | extras/keymap/95-keymap.rules | 1 | ||||
-rw-r--r-- | extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index 26666a9f55..517c87c4ac 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -22,6 +22,7 @@ LABEL="keyboard_usbcheck" ENV{ID_VENDOR}=="Logitech*", ATTRS{name}=="Logitech USB Multimedia Keyboard", RUN+="keymap $name logitech-wave" ENV{ID_VENDOR}=="Logitech*", ATTRS{name}=="Logitech USB Receiver", RUN+="keymap $name logitech-wave-cordless" ENV{ID_VENDOR}=="Lite-On_Technology_Corp*", ATTRS{name}=="Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint", RUN+="keymap $name lenovo-thinkpad-usb-keyboard-trackpoint" +ENV{ID_VENDOR_ID}=="04b3", ENV{ID_MODEL_ID}=="301[89]", RUN+="keymap $name ibm-thinkpad-usb-keyboard-trackpoint" GOTO="keyboard_end" diff --git a/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint b/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint new file mode 100644 index 0000000000..027e50bf88 --- /dev/null +++ b/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint @@ -0,0 +1,7 @@ +0x900f0 screenlock +0x900f1 wlan +0x900f2 switchvideomode +0x900f3 suspend +0x900f4 brightnessup +0x900f5 brightnessdown +0x900f8 zoom |