1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-27 18:04:05 +03:00

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>
This commit is contained in:
Matthew Garrett 2010-04-01 14:22:32 -04:00 committed by Martin Pitt
parent 86a62b0cf2
commit 8bc376a373
3 changed files with 9 additions and 0 deletions

View File

@ -534,6 +534,7 @@ dist_udevkeymap_DATA = \
extras/keymap/keymaps/hewlett-packard-presario-2100 \
extras/keymap/keymaps/hewlett-packard-tablet \
extras/keymap/keymaps/hewlett-packard-tx2 \
extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint \
extras/keymap/keymaps/inventec-symphony_6.0_7.0 \
extras/keymap/keymaps/lenovo-3000 \
extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint \

View File

@ -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"

View File

@ -0,0 +1,7 @@
0x900f0 screenlock
0x900f1 wlan
0x900f2 switchvideomode
0x900f3 suspend
0x900f4 brightnessup
0x900f5 brightnessdown
0x900f8 zoom