summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2024-03-18 11:36:28 +0100
committerJiri Kosina <jkosina@suse.com>2024-04-03 13:26:14 +0200
commit5307de63d71d0b2303a8c645493a36021bedd800 (patch)
tree649fb25826a01abf734d59e8c33a1cbbcb802ce6 /scripts/gdb/linux/tasks.py
parent3e78a6c0d3e02e4cf881dc84c5127e9990f939d6 (diff)
HID: nintendo: use ida for LED player id
Previously, the leds pattern would just increment with every controller connected. This wouldn't take into consideration when controllers are disconnected. The same controller could be connected and disconnected with the pattern increasing player count each time. This patch changes it by using an ID allocator in order to assign the player id, the same way hid-playstation does. Signed-off-by: Martino Fontana <tinozzo123@gmail.com> Signed-off-by: Ryan McClelland <rymcclel@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions