Merge branch 'master' into bleed

This commit is contained in:
chrys 2018-05-16 23:30:49 +02:00
commit b5850abeed
2 changed files with 24 additions and 1 deletions

View File

@ -50,7 +50,18 @@ else:
available = available and False
if available:
currentInstallation.append('vcsaDriver')
# pty emulation (screen driver)
print('ptyDriver')
available = True
try:
import pyte
print('pyte: OK')
except:
print('pyte: FAIL')
available = available and False
if available:
currentInstallation.append('ptyDriver (screen)')
# BRAILLE
print('')
print('braille driver')
@ -87,6 +98,17 @@ except:
available = available and False
if available:
currentInstallation.append('evdevDriver')
# pty emulation (input driver)
print('ptyDriver')
available = True
try:
import pyte
print('pyte: OK')
except:
print('pyte: FAIL')
available = available and False
if available:
currentInstallation.append('ptyDriver (Input)')
# SOUND
print('')
print('sound driver')

View File

@ -295,6 +295,7 @@ class driver(inputDriver):
except:
pass
def removeDevice(self,fd):
self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: device removed: ' + str(fd) + ' ' +str(self.iDevices[fd]),debug.debugLevel.ERROR)
self.clearEventBuffer()
try:
self.ungrabDevice(fd)