dont announce start as TTY change
This commit is contained in:
parent
fbe33d609e
commit
3794bd5fe4
@ -6,13 +6,13 @@ volume=1.0
|
|||||||
|
|
||||||
[speech]
|
[speech]
|
||||||
enabled=True
|
enabled=True
|
||||||
driver=espeak
|
driver=speechd
|
||||||
rate=0.75
|
rate=0.75
|
||||||
pitch=0.5
|
pitch=0.5
|
||||||
module=espeak
|
module=espeak
|
||||||
voice=en-us
|
voice=de
|
||||||
language=en-us
|
language=de
|
||||||
volume=1.0
|
volume=0.8
|
||||||
autoReadIncomming=True
|
autoReadIncomming=True
|
||||||
|
|
||||||
[braille]
|
[braille]
|
||||||
@ -25,10 +25,10 @@ screenUpdateDelay=0.4
|
|||||||
|
|
||||||
[keyboard]
|
[keyboard]
|
||||||
device=all
|
device=all
|
||||||
grabDevices=False
|
grabDevices=True
|
||||||
ignoreShortcuts=False
|
ignoreShortcuts=False
|
||||||
keyboardLayout=test
|
keyboardLayout=test
|
||||||
charEcho=False
|
charEcho=True
|
||||||
charDeleteEcho=True
|
charDeleteEcho=True
|
||||||
wordEcho=True
|
wordEcho=True
|
||||||
interruptOnKeyPress=False
|
interruptOnKeyPress=False
|
||||||
@ -40,5 +40,5 @@ fenrirKeys=KEY_KP0
|
|||||||
|
|
||||||
[promote]
|
[promote]
|
||||||
enabled=True
|
enabled=True
|
||||||
inactiveTimeoutSec=5
|
inactiveTimeoutSec=120
|
||||||
list=
|
list=chrys,test
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
[sound]
|
|
||||||
enabled=True
|
|
||||||
driver=sox
|
|
||||||
theme=default
|
|
||||||
volume=1.0
|
|
||||||
|
|
||||||
[speech]
|
|
||||||
enabled=True
|
|
||||||
driver=speechd
|
|
||||||
rate=0.75
|
|
||||||
pitch=0.5
|
|
||||||
module=espeak
|
|
||||||
voice=de
|
|
||||||
language=de
|
|
||||||
volume=0.8
|
|
||||||
autoReadIncomming=True
|
|
||||||
|
|
||||||
[braille]
|
|
||||||
enabled=False
|
|
||||||
layout=en
|
|
||||||
|
|
||||||
[screen]
|
|
||||||
driver=linux
|
|
||||||
screenUpdateDelay=0.4
|
|
||||||
|
|
||||||
[keyboard]
|
|
||||||
device=all
|
|
||||||
grabDevices=True
|
|
||||||
ignoreShortcuts=False
|
|
||||||
keyboardLayout=test
|
|
||||||
charEcho=True
|
|
||||||
charDeleteEcho=True
|
|
||||||
wordEcho=True
|
|
||||||
interruptOnKeyPress=False
|
|
||||||
|
|
||||||
[general]
|
|
||||||
debugLevel=0
|
|
||||||
punctuationLevel=1
|
|
||||||
fenrirKeys=KEY_KP0
|
|
||||||
|
|
||||||
[promote]
|
|
||||||
enabled=True
|
|
||||||
inactiveTimeoutSec=120
|
|
||||||
list=chrys,test
|
|
@ -17,6 +17,6 @@ screenData = {
|
|||||||
'newContentBytes': b'',
|
'newContentBytes': b'',
|
||||||
'newContentText': '',
|
'newContentText': '',
|
||||||
'newContentAttrib': b'',
|
'newContentAttrib': b'',
|
||||||
'oldTTY':'0',
|
'oldTTY':'-1',
|
||||||
'newTTY':'0',
|
'newTTY':'0',
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,9 @@ class screen():
|
|||||||
environment['screenData']['oldContentTextAttrib'] = environment['screenData']['newContentAttrib']
|
environment['screenData']['oldContentTextAttrib'] = environment['screenData']['newContentAttrib']
|
||||||
environment['screenData']['oldCursor']['x'] = environment['screenData']['newCursor']['x']
|
environment['screenData']['oldCursor']['x'] = environment['screenData']['newCursor']['x']
|
||||||
environment['screenData']['oldCursor']['y'] = environment['screenData']['newCursor']['y']
|
environment['screenData']['oldCursor']['y'] = environment['screenData']['newCursor']['y']
|
||||||
|
if environment['screenData']['oldTTY'] == '-1':
|
||||||
|
environment['screenData']['oldTTY'] = newTTY # dont recognice starting fenrir as change
|
||||||
|
else:
|
||||||
environment['screenData']['oldTTY'] = environment['screenData']['newTTY']
|
environment['screenData']['oldTTY'] = environment['screenData']['newTTY']
|
||||||
environment['screenData']['oldDelta'] = environment['screenData']['newDelta']
|
environment['screenData']['oldDelta'] = environment['screenData']['newDelta']
|
||||||
environment['screenData']['oldNegativeDelta'] = environment['screenData']['newNegativeDelta']
|
environment['screenData']['oldNegativeDelta'] = environment['screenData']['newNegativeDelta']
|
||||||
|
Loading…
Reference in New Issue
Block a user