gvalkov / python-evdev

Python bindings for the Linux input subsystem
https://python-evdev.rtfd.org/
BSD 3-Clause "New" or "Revised" License
337 stars 112 forks source link

Print uniq instead of phys, if available #202

Closed quaxalber closed 12 months ago

quaxalber commented 12 months ago

Hi there, I think in most cases it's rather uniq instead of phys one is interested in. E.g., for Bluetooth devices, phys shows the own device's Bluetooth adapter MAC, which is the same for all input devices, whereas uniq shows each device's individual MAC.

sezanzeb commented 11 months ago

As far as I remember, uniq is empty for usb devices.