diff options
author | Nuno Pereira <nf.pereira@outlook.pt> | 2024-02-27 01:39:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-30 10:48:45 +0300 |
commit | bc1ddeb500dfe818474d2d56f4bb01cd93225822 (patch) | |
tree | 52024f814e77f49c7602debb347c8768da5595bf /drivers/dma/xilinx/xdma.c | |
parent | f3361605718c0245ad572f18002f939322fc074c (diff) | |
download | linux-bc1ddeb500dfe818474d2d56f4bb01cd93225822.tar.xz |
HID: nintendo: Fix N64 controller being identified as mouse
[ Upstream commit 8db8c77059e75a0f418b10ede39dd82a9eb031fa ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/dma/xilinx/xdma.c')
0 files changed, 0 insertions, 0 deletions