From: Simon Budig Date: Mon, 15 Jan 2007 16:28:47 +0000 (+0100) Subject: HID: proper LED-mapping for SpaceNavigator X-Git-Tag: v2.6.20-rc6~55^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4ae650a904612ffb7edd3f28b69b022988d2466;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed