summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorNuno Pereira <nf.pereira@outlook.pt>2024-02-27 01:39:31 +0300
committerJiri Kosina <jkosina@suse.com>2024-04-03 14:19:14 +0300
commit8db8c77059e75a0f418b10ede39dd82a9eb031fa (patch)
tree16930446c9abf61b9f247ab9d98f86bf086e1844 /drivers/pci
parent139b4c37e9cb0943e51adbb9c20c45bf60e44422 (diff)
downloadlinux-8db8c77059e75a0f418b10ede39dd82a9eb031fa.tar.xz
HID: nintendo: Fix N64 controller being identified as mouse
This patch is regarding the recent addition of support for the NSO controllers to hid-nintendo. All controllers are working correctly with the exception of the N64 controller, which is being identified as a mouse by udev. This results in the joystick controlling the mouse cursor and the controller not being detected by games. The reason for this is because the N64's C buttons have been attributed to BTN_FORWARD, BTN_BACK, BTN_LEFT, BTN_RIGHT, which are buttons typically attributed to mice. This patch changes those buttons to controller buttons, making the controller be correctly identified as such. Signed-off-by: Nuno Pereira <nf.pereira@outlook.pt> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions