chiark / gitweb /
keymap: add Genius SlimStar 320
authorKir Kolyshkin <kir@openvz.org>
Mon, 22 Aug 2011 04:42:28 +0000 (06:42 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 22 Aug 2011 04:42:28 +0000 (06:42 +0200)
commit1484205c47cf395fe21e0dac249b8534d03c3fe2
tree6cdb2cebfeda4247d95c27c083f22ad53a3f0829
parent00fc377e7a6b1997db346c8de51cbf05cad48376
keymap: add Genius SlimStar 320

This keyboard have 16 "multimedia" keys plus a "4-way turbo scroll pad" which
is essentially a round up/down/left/right button. Unfortunately most of these
keys emit non-standard scancodes in a range 495-508 which does not make any
sense. I tried to remap those to the best of my knowledge.

Note the keyboard comes up as two event devices, second one is multimedia
keys, so I ended up adding ENV{ID_USB_INTERFACE_NUM}=="01" to avoid
unnecessary initialization of the "main" keyboard.
extras/keymap/95-keymap.rules
extras/keymap/keymaps/genius-slimstar-320 [new file with mode: 0644]