ignore BRLTTY input devices
This commit is contained in:
parent
2111c26980
commit
f0feb1391d
@ -174,7 +174,9 @@ class driver():
|
|||||||
# 2 pos relative
|
# 2 pos relative
|
||||||
# 1 Keys
|
# 1 Keys
|
||||||
currDevice = evdev.InputDevice(deviceFile)
|
currDevice = evdev.InputDevice(deviceFile)
|
||||||
if currDevice.name.upper() in ['SPEAKUP','PY-EVDEV-UINPUT']:
|
if currDevice.name.upper() in ['','SPEAKUP','PY-EVDEV-UINPUT']:
|
||||||
|
continue
|
||||||
|
if 'BRLTTY' in currDevice.name.upper():
|
||||||
continue
|
continue
|
||||||
cap = currDevice.capabilities()
|
cap = currDevice.capabilities()
|
||||||
if mode in ['ALL','NOMICE']:
|
if mode in ['ALL','NOMICE']:
|
||||||
|
Loading…
Reference in New Issue
Block a user