aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2011-11-17 14:12:07 +0100
committerJiri Kosina <[email protected]>2011-11-22 23:09:45 +0100
commitb17b57a5d0fcfc1d6ba582a086b3a22510aef03d (patch)
tree7f15f6289c72ab1dc2a8ea5dc311102e08457230 /tools/perf/util/scripting-engines/trace-event-python.c
parent0b6815d75d8bf214998455d94061a40f3b4a77f3 (diff)
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions