Update evdevDriver.py
This commit is contained in:
parent
423f3e8104
commit
81a7896f14
@ -71,7 +71,8 @@ class driver(inputDriver):
|
||||
try:
|
||||
if not '/sys/devices/virtual/input/' in device.sys_path:
|
||||
if device.device_node:
|
||||
validDevices.append(str(device.device_node))
|
||||
if device.sys_name.startswith('event'):
|
||||
validDevices.append(str(device.device_node))
|
||||
device = monitor.poll(0.1)
|
||||
except:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user