Closed aadilshabier closed 4 months ago
Inspired from https://unix.stackexchange.com/questions/523108/getting-type-of-evdev-device. My mouse was incorrectly getting recognized as a keyboard because of this. I tried this on my laptop keyboard and with a couple of keyboards I had lying around, and this seems to be consistent.
NOTE: this needs to be tested across devices and setups
Inspired from https://unix.stackexchange.com/questions/523108/getting-type-of-evdev-device. My mouse was incorrectly getting recognized as a keyboard because of this. I tried this on my laptop keyboard and with a couple of keyboards I had lying around, and this seems to be consistent.
NOTE: this needs to be tested across devices and setups