update fallback settings.py

This commit is contained in:
chrys 2016-09-18 13:11:22 +02:00
parent e7ea7a9e0e
commit c82819299e
3 changed files with 29 additions and 23 deletions

View File

@ -98,6 +98,7 @@ numberOfClipboards=10
# define the current fenrir key # define the current fenrir key
fenrirKeys=KEY_KP0 fenrirKeys=KEY_KP0
timeFormat=%H:%M:%P timeFormat=%H:%M:%P
dateFormat=%A, %B %d, %Y
autoSpellCheck=True autoSpellCheck=True
spellCheckLanguage=en_US spellCheckLanguage=en_US

View File

@ -6,9 +6,9 @@ input = {
'prevInput': [], 'prevInput': [],
'prevDeepestInput': [], 'prevDeepestInput': [],
'currEvent': None, 'currEvent': None,
'eventBuffer': None, 'eventBuffer': [],
'shortcutRepeat': 0, 'shortcutRepeat': 0,
'fenrirKey': ['82'], 'fenrirKey': ['KEY_FENRIR'],
'keyForeward': False, 'keyForeward': False,
'lastInputTime':time.time(), 'lastInputTime':time.time(),
'oldNumLock': True, 'oldNumLock': True,

View File

@ -4,21 +4,23 @@ from utils import debug
settings = { settings = {
'sound': { 'sound': {
'enabled': False, 'enabled': True,
'driver': 'sox', 'driver': 'generic',
'theme': 'default', 'theme': 'default',
'volume':1.0, 'volume': 1.0,
'genericPlayFileCommand': 'play -q -v fenrirVolume fenrirSoundFile',
'genericFrequencyCommand': 'play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence'
}, },
'speech':{ 'speech':{
'enabled': True, 'enabled': True,
'driver':'speechd', 'driver': 'speechd',
'rate': 0.75, 'rate': 0.75,
'pitch': 0.5, 'pitch': 0.5,
'volume': 1.0,
'module': '', 'module': '',
'voice': 'de', 'voice': 'de',
'language': 'de', 'language': 'de',
'volume': 1.0, 'autoReadIncomming': True,
'autoReadIncomming':True,
}, },
'braille':{ 'braille':{
'enabled': False, 'enabled': False,
@ -27,32 +29,35 @@ settings = {
'screen':{ 'screen':{
'driver': 'linux', 'driver': 'linux',
'encoding': 'cp850', 'encoding': 'cp850',
'screenUpdateDelay':0.4, 'screenUpdateDelay': 0.4,
'suspendingScreen':'', 'suspendingScreen': '',
'autodetectSuspendingScreen':False, 'autodetectSuspendingScreen': False,
}, },
'general':{ 'general':{
'keyboardLayout': "desktop",
'debugLevel': debug.debugLevel.DEACTIVE, 'debugLevel': debug.debugLevel.DEACTIVE,
'punctuationLevel': 1, 'punctuationLevel': 1,
'numberOfClipboards': 10, 'numberOfClipboards': 10,
'fenrirKeys':['82'], 'fenrirKeys': ['KEY_KP0'],
'timeFormat':'%I:%M%P', 'timeFormat': '%I:%M%P',
'dateFormat':'%A, %B %d, %Y', 'dateFormat': '%A, %B %d, %Y',
'autoSpellCheck': False,
'spellCheckLanguage': 'en_US',
}, },
'promote':{ 'promote':{
'enabled': True, 'enabled': True,
'inactiveTimeoutSec':120, 'inactiveTimeoutSec': 120,
'list':'', 'list': '',
}, },
'keyboard':{ 'keyboard':{
'device':"all", 'driver': 'evdev',
'grabDevices':True, 'device': 'all',
'ignoreShortcuts':False, 'grabDevices': True,
'ignoreShortcuts': False,
'keyboardLayout': "desktop", 'keyboardLayout': "desktop",
'charEcho':False, 'charEcho': False,
'charDeleteEcho':True, 'charDeleteEcho': True,
'wordEcho':True, 'wordEcho': True,
'interruptOnKeyPress': True, 'interruptOnKeyPress': True,
'doubleTapDelay': 0.2,
} }
} }