summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2024-03-18 13:36:28 +0300
committerJiri Kosina <jkosina@suse.com>2024-04-03 14:26:14 +0300
commit5307de63d71d0b2303a8c645493a36021bedd800 (patch)
tree649fb25826a01abf734d59e8c33a1cbbcb802ce6 /net/lapb
parent3e78a6c0d3e02e4cf881dc84c5127e9990f939d6 (diff)
downloadlinux-5307de63d71d0b2303a8c645493a36021bedd800.tar.xz
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 'net/lapb')
0 files changed, 0 insertions, 0 deletions