From: David Herrmann Date: Thu, 17 Nov 2011 13:12:07 +0000 (+0100) Subject: HID: wiimote: Parse motion+ data X-Git-Tag: v3.3-rc1~123^2~1^7~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b17b57a5d0fcfc1d6ba582a086b3a22510aef03d;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed