add option for brailleFocusMode
This commit is contained in:
parent
adcd7b04b5
commit
7fd98fe988
@ -130,6 +130,12 @@ scriptPath=/usr/share/fenrir/scripts
|
||||
[focus]
|
||||
cursor=True
|
||||
highlight=False
|
||||
How should the braille follow the focus
|
||||
# manual = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
# text = jumps to textcursor when typing, needs command to be back to review
|
||||
brailleFocusMode=review
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
|
@ -133,6 +133,12 @@ scriptPath=/usr/share/fenrir/scripts
|
||||
cursor=True
|
||||
#follow highlighted text changes
|
||||
highlight=False
|
||||
How should the braille follow the focus
|
||||
# manual = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
# text = jumps to textcursor when typing, needs command to be back to review
|
||||
brailleFocusMode=review
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
|
@ -132,6 +132,12 @@ scriptPath=/usr/share/fenrir/scripts
|
||||
cursor=True
|
||||
#follow highlighted text changes
|
||||
highlight=False
|
||||
How should the braille follow the focus
|
||||
# manual = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
# text = jumps to textcursor when typing, needs command to be back to review
|
||||
brailleFocusMode=review
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
|
@ -83,6 +83,12 @@ scriptPath=/usr/share/fenrir/scripts
|
||||
cursor=True
|
||||
#follow highlighted text changes
|
||||
highlight=False
|
||||
How should the braille follow the focus
|
||||
# manual = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
# text = jumps to textcursor when typing, needs command to be back to review
|
||||
brailleFocusMode=review
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
|
@ -13,14 +13,15 @@ class driver():
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
self._isInitialized = True
|
||||
self.deviceSize = (40,0)
|
||||
print('BrailleDummyDriver: Initialize')
|
||||
|
||||
|
||||
def getDeviceSize(self):
|
||||
if not self._isInitialized:
|
||||
return (0,0)
|
||||
print('BrailleDummyDriver: getDeviceSize 20')
|
||||
return (20,0)
|
||||
print('BrailleDummyDriver: getDeviceSize ' + str(self.deviceSize))
|
||||
return self.deviceSize
|
||||
|
||||
def writeText(self,text):
|
||||
if not self._isInitialized:
|
||||
|
@ -61,6 +61,7 @@ settings = {
|
||||
'focus':{
|
||||
'cursor': True,
|
||||
'highlight': False,
|
||||
'brailleFocusMode': 'review',
|
||||
},
|
||||
'review':{
|
||||
'lineBreak': True,
|
||||
|
Loading…
Reference in New Issue
Block a user