Question

On linux / ubuntu, the keyboard and mouse devices are found in /dev/input/by-path/ Where is the keyboard device mounted in osx? I added a usb keyboard, and no devices got added in /dev folder. Is it located somewhere else, or is it totally unaccessible? Thanks.

Edit: I was able to get some info on the keyboard using libusb:
046d:c315 (bus 26, device 3) and usb prober in developer tools from apple...
however none of them mention a /dev special file or another way to access it.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top