Closed alice-mkh closed 4 years ago
The device type is a bitmask, and a device can have multiple types, for example JOYPAD+ANALOG. Since we're only interested in JOYPAD and MOUSE here, just unset all others.
The device type is a bitmask, and a device can have multiple types, for example JOYPAD+ANALOG. Since we're only interested in JOYPAD and MOUSE here, just unset all others.