Merge branch 'master' into bleed
This commit is contained in:
commit
b5850abeed
@ -50,6 +50,17 @@ else:
|
|||||||
available = available and False
|
available = available and False
|
||||||
if available:
|
if available:
|
||||||
currentInstallation.append('vcsaDriver')
|
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
|
# BRAILLE
|
||||||
print('')
|
print('')
|
||||||
@ -87,6 +98,17 @@ except:
|
|||||||
available = available and False
|
available = available and False
|
||||||
if available:
|
if available:
|
||||||
currentInstallation.append('evdevDriver')
|
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
|
# SOUND
|
||||||
print('')
|
print('')
|
||||||
print('sound driver')
|
print('sound driver')
|
||||||
|
@ -295,6 +295,7 @@ class driver(inputDriver):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
def removeDevice(self,fd):
|
def removeDevice(self,fd):
|
||||||
|
self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: device removed: ' + str(fd) + ' ' +str(self.iDevices[fd]),debug.debugLevel.ERROR)
|
||||||
self.clearEventBuffer()
|
self.clearEventBuffer()
|
||||||
try:
|
try:
|
||||||
self.ungrabDevice(fd)
|
self.ungrabDevice(fd)
|
||||||
|
Loading…
Reference in New Issue
Block a user