Merge branch 'master' into bleed
This commit is contained in:
commit
b5850abeed
@ -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')
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user