]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Map MS Presenter 8000 bottom-side buttons
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Oct 2007 14:24:22 +0000 (16:24 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Jan 2008 13:51:19 +0000 (14:51 +0100)
commit0f0081fd49e7c6f2f0f638d54e6dafbb7945e654
tree86ee87296a3c2258377c855ad24324d6414a90fa
parent5f755574758e28a3ba212199a594c1d2698bd078
HID: Map MS Presenter 8000 bottom-side buttons

The MS Presenter 8000 bluetooth mouse is a "dual-use" device: If you
press a button on the top, you can turn it around and find special keys
on the other side, useful for presentations. This patch maps those three
bottom-keys that are not already detected to the intended functions. The
magic bottom on the top is mapped to F5 when we switch from mouse to
presenter mode in order to activate the presentation mode in the related
software (e.g. OpenOffice).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c