diff options
author | Hongye Yuan <outmatch@gmail.com> | 2019-01-09 09:18:09 +0800 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-01-09 14:56:30 +0100 |
commit | d03213f1287bcf3ad0102837694f021847737a0d (patch) | |
tree | daacc8bb926c8db9425326adde1548d9b7652ffe /lib/flex_array.c | |
parent | 69481059c507b3b5a99aaab0d544e6516034defc (diff) |
HID: sony: Fix SHANWAN PS3 GamePad rumble and led settings support
Rumble support on SHANWAN PS3 gamepad is not working when a user
program has asked it to. If a HID Output Reports is sent via Control
Channel then it will be discard by gamepad, thus rumble motor and led
settings in Output Report are ignored.
This patch therefore sends HID Output Report via Interrupt Channel to
SHANWAN gamepad instead of Control Channel, fixing rumble motor and
led settings.
Signed-off-by: Hongye Yuan <outmatch@gmail.com>
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions