make virtual devices work
This commit is contained in:
parent
c517ed0a6d
commit
2da58e73ad
@ -1,5 +1,6 @@
|
||||
1. PTY screen driver (leaves experimental state, stable now)
|
||||
- lot higher accuracy
|
||||
- works with "dialog" now
|
||||
- a lot of performance speedup
|
||||
- shortcuts are now recognieced more accurate
|
||||
2. VCSA screen driver got support for UTF32 using /dev/vcsu (needs Linux >=4.19)
|
||||
|
@ -70,8 +70,8 @@ class driver(inputDriver):
|
||||
while device:
|
||||
self.env['runtime']['debug'].writeDebugOut('plugInputDeviceWatchdogUdev:' + str(device), debug.debugLevel.INFO)
|
||||
try:
|
||||
if not '/sys/devices/virtual/input/' in device.sys_path:
|
||||
if device.device_node:
|
||||
#if not '/sys/devices/virtual/input/' in device.sys_path:
|
||||
if device.device_node:
|
||||
validDevices.append(str(device.device_node))
|
||||
except:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user