Linux - doubled /dev/input/event* devices - buttons register as duplicate clicks

Reported in Discord:

Gentoo Linux, Niri, Wayland

Rotatrix Wired, App ver 1.5.1

User saw double pasting in terminal.

Left/right clicks acted normal. evtest shows multiple input devices from Rotatrix.

Workaround: blacklisted ID_USB_INTERFACE_NUM=00 via udev rule:

KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="1108", MODE="0660", ENV{ID_USB_INTERFACE_NUM}=="00", ENV{LIBINPUT_IGNORE_DEVICE}="1"

Everything still works, Rotatrix mode, detected in the app, works in Blender.

Additional info:

=== /dev/input/event6 ===
Rotatrix Rotatrix Trackball
ID_INPUT=1
ID_MODEL=Rotatrix_Trackball
ID_USB_INTERFACE_NUM=00
ID_PATH=pci-0000:00:14.0-usb-0:14:1.0
=== /dev/input/event23 ===
Rotatrix Rotatrix Trackball
ID_INPUT=1
ID_MODEL=Rotatrix_Trackball
ID_USB_INTERFACE_NUM=01
ID_PATH=pci-0000:00:14.0-usb-0:14:1.1