add tool
This commit is contained in:
Executable
+4
@@ -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)
|
||||||
Reference in New Issue
Block a user