Parent: 67c269d17185ae531058951dadfad05ef4442faf
Author: Szymon Janc <szymon.janc@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-12-03 09:47:07
Tree: 716b9231efeadf29d67d80700a31df59917743a6
sixaxis: Add support for setting LEDs when connected over USB This allows to setup LEDs when device is connected over USB, not Bluetooth. This coverts two scenarios: - user plugged PS3 controller and pressed PS3 button before unplugging, in that case LEDs are set - user plugged already BT connected PS3 controller to USB, this results in new /dev/input/jsX device being create but controller is still transmitting over BT and old jsX device exists. In that case don't set LEDs as they are already set. This is not directly related to Bluetooth itself but change is really small and provides much better and consistent user experience.
Diffstat
| M | plugins/sixaxis.c | | | 23 | ++++++++++++++- - - - - - - - - |
1 files changed, 14 insertions(+), 9 deletions(-)