This commit is contained in:
chrys 2018-05-19 01:19:30 +02:00
parent 823708800b
commit 05676e8e09

4
tools/deviceInfo.py Executable file
View File

@ -0,0 +1,4 @@
from pyudev import Context
context = Context()
for device in context.list_devices(subsystem='input'):
'{0} - {1}'.format(device.sys_name, device.device_type)