Parent: fdbe933252b1f9ff2a0dca8869433b458a830b20
Author: Antonio Ospite <ao2@ao2.it>
Committer: Szymon Janc <szymon.janc@gmail.com>
Date: 2014-06-08 15:54:41
Tree: 2cdc0848a0e448e5c02fc52e21cae6acbaff8a06
plugins/sixaxis: Add a get_leds_data() function Get all the data necessary to set the LEDs in a single function, returning a leds_data structure to be passed as argument to the setup_leds() callback. For now only a 'bitmap' field is used, which is the only thing that set_leds_hidraw() needs.
Diffstat
| M | plugins/sixaxis.c | | | 49 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - |
1 files changed, 40 insertions(+), 9 deletions(-)