HID: wiimote: Parse nunchuck data
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 17 Nov 2011 13:12:08 +0000 (14:12 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Nov 2011 22:09:56 +0000 (23:09 +0100)
commita53535014b7af750df3d8eda471dce21b2aa339c
tree66cd66019376ce9acafcf589de558c589613b56c
parentb17b57a5d0fcfc1d6ba582a086b3a22510aef03d
HID: wiimote: Parse nunchuck data

The Nintendo Nunchuck extension reports accelerometer values, one analog stick
and two buttons. See inline comments for data layout.
We report all data to userspace through extension input device.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-ext.c