From 0ddfae5fff8bffb46263c4f0b5c1d41d559564ab Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 15 Oct 2009 00:13:17 +0200 Subject: [PATCH] keymap: Add Logitech Wave cordless https://launchpad.net/bugs/215035 --- Makefile.am | 1 + extras/keymap/95-keymap.rules | 2 +- extras/keymap/keymaps/logitech-wave-cordless | 13 +++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 extras/keymap/keymaps/logitech-wave-cordless diff --git a/Makefile.am b/Makefile.am index fa09b17b..cf7d3641 100644 --- a/Makefile.am +++ b/Makefile.am @@ -512,6 +512,7 @@ dist_udevkeymap_DATA = \ extras/keymap/keymaps/lenovo-thinkpad_x6_tablet \ extras/keymap/keymaps/lenovo-thinkpad_x200_tablet \ extras/keymap/keymaps/logitech-wave \ + extras/keymap/keymaps/logitech-wave-cordless \ extras/keymap/keymaps/maxdata-pro_7000 \ extras/keymap/keymaps/medion-fid2060 \ extras/keymap/keymaps/medionnb-a555 \ diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index dd586885..0e4c2dc6 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -20,7 +20,7 @@ GOTO="keyboard_modulecheck" 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" GOTO="keyboard_end" diff --git a/extras/keymap/keymaps/logitech-wave-cordless b/extras/keymap/keymaps/logitech-wave-cordless new file mode 100644 index 00000000..4d34c973 --- /dev/null +++ b/extras/keymap/keymaps/logitech-wave-cordless @@ -0,0 +1,13 @@ +0xC0183 media +0xC1005 camera +0xC101F zoomout +0xC1020 zoomin +0xC1041 wordprocessor +0xC1042 spreadsheet +0xC1043 calendar +0xC1044 prog2 #fn+f4 (program a) +0xC1045 prog3 #fn+f5 (program b) +0xC1046 prog4 #fn+f6 (program c) +0xC1048 messenger +0xC104A find #fn+f10 (search www) +0xC104C ejectclosecd -- 2.39.5