How to find the keyboard in / dev on osx

Keyboard and mouse devices found in linux / ubuntu in / dev / input / by-path / Where is the keyboard device installed in osx? I added a usb keyboard and no devices are added to the / dev folder. Is it somewhere else, or is it completely inaccessible? Thanks.

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

+3
source share

Source: https://habr.com/ru/post/1717110/


All Articles