android_kernel_xiaomi_sm8350/drivers/hid
Simon Budig d4ae650a90 HID: proper LED-mapping for SpaceNavigator
This change introduces a mapping for LED indicators between the HID
specification and the Linux input subsystem. The previous code properly
mapped the LEDs relevant for Keyboards, but garbeled the remaining ones.
With this change all LED enums from the input system get mapped to more
or less equivalent LED numbers from the HID specification.

This patch also ensures that the unused bits in a HID report to the
device are zeroed out. This makes the 3Dconnexion SpaceNavigator fully
usable with the linux input system.

Signed-off-by: Simon Budig <simon@budig.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2007-01-21 22:17:53 +01:00
..
hid-core.c HID: proper LED-mapping for SpaceNavigator 2007-01-21 22:17:53 +01:00
hid-input.c HID: proper LED-mapping for SpaceNavigator 2007-01-21 22:17:53 +01:00
Kconfig HID: fix help texts in Kconfig 2007-01-04 11:43:35 +01:00
Makefile [PATCH] Generic HID layer - build 2006-12-08 10:43:20 -08:00