Add hid-nintendo to the udev driver heuristics

This commit is contained in:
Cameron Gutman
2023-11-02 03:18:35 +00:00
parent 78c51917a8
commit f8f7134dd0

View File

@@ -12,6 +12,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", DRIVERS=="stadia", ENV{ID_GAME_CONTROLLE
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", DRIVERS=="hid-steam", ENV{ID_GAME_CONTROLLER}="1"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", DRIVERS=="shield", ENV{ID_GAME_CONTROLLER}="1"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", DRIVERS=="wiimote", ENV{ID_GAME_CONTROLLER}="1"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", DRIVERS=="nintendo", ENV{ID_GAME_CONTROLLER}="1"
# We'll also match by VID/PID for some of the common gamepads. Most of the items come from
# https://github.com/ValveSoftware/steam-devices/blob/master/60-steam-input.rules