Last active
May 6, 2026 15:01
-
-
Save xobs/91bf714dd11c5b367d0aa5798bc58c3e to your computer and use it in GitHub Desktop.
Prevent Nuphy devices from showing up as a joystick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Place in /etc/udev/rules.d/99-hide-nuphy.rules | |
| # Hide joystick interface for Nuphy dongle | |
| ACTION=="add", SUBSYSTEM=="input", ENV{ID_BUS}=="usb", \ | |
| ENV{ID_VENDOR_ID}=="19f5", ENV{ID_MODEL_ID}=="2620", \ | |
| ENV{ID_INPUT_JOYSTICK}=="1", \ | |
| ENV{ID_INPUT_JOYSTICK}="0", ENV{LIBINPUT_IGNORE_DEVICE}="1" | |
| # Hide joystick interface for the Nuphy keyboard | |
| ACTION=="add", SUBSYSTEM=="input", ENV{ID_BUS}=="usb", \ | |
| ENV{ID_VENDOR_ID}=="19f5", ENV{ID_MODEL_ID}=="1036", \ | |
| ENV{ID_INPUT_JOYSTICK}=="1", \ | |
| ENV{ID_INPUT_JOYSTICK}="0", ENV{LIBINPUT_IGNORE_DEVICE}="1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment