summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-11-17 13:12:07 (GMT)
committerJiri Kosina <jkosina@suse.cz>2011-11-22 22:09:45 (GMT)
commitb17b57a5d0fcfc1d6ba582a086b3a22510aef03d (patch)
tree7f15f6289c72ab1dc2a8ea5dc311102e08457230 /drivers/amba
parent0b6815d75d8bf214998455d94061a40f3b4a77f3 (diff)
downloadlinux-b17b57a5d0fcfc1d6ba582a086b3a22510aef03d.tar.xz
HID: wiimote: Parse motion+ data
Motion+ reports rotation gyro data which we report to userspace as ABS_RX/Y/Z values. The device reports them either in fast or slow mode. We adjust the values to get a linear scale so userspace does not need to know about slow and fast mode. The motion+ also reports whether an extension is connected to it. We keep track of this value and reinitialize the extensions if an extension is plugged or unplugged. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions