aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFrank Praznik <[email protected]>2014-04-14 10:11:36 -0400
committerJiri Kosina <[email protected]>2014-04-24 18:53:41 +0200
commitb3ed458c1c24bac3796849ee8ec681fb3b6cbf46 (patch)
treed31bd4d39215c591c430528d2903d35323b1bcad /tools/perf/util/scripting-engines/trace-event-python.c
parent8025087acf9d2b941bae93b3e0967560e7e03e87 (diff)
HID: sony: Add blink support to the Sixaxis and DualShock 4 LEDs
Add support for setting the blink rate of the LEDs. The Sixaxis allows control over each individual LED, but the Dualshock 4 only has one global control for controlling the hardware blink rate so individual colors will fall back to software timers. Setting the brightness cancels the blinking as per the LED class specifications. The Sixaxis and Dualshock 4 controllers accept delays in decisecond increments from 0 to 255 (2550 milliseconds). The value at index 1 of the DualShock 4 USB output report must be 0xFF or the light bar won't blink. Signed-off-by: Frank Praznik <[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