make virtual devices work

This commit is contained in:
Chrys 2019-08-21 23:26:49 +02:00
parent c517ed0a6d
commit 2da58e73ad
2 changed files with 42 additions and 41 deletions

View File

@ -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)

View File

@ -70,7 +70,7 @@ 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 not '/sys/devices/virtual/input/' in device.sys_path:
if device.device_node:
validDevices.append(str(device.device_node))
except: