Added setting readNumbersAsDigits.
This commit is contained in:
parent
c3d1ccd10b
commit
a84bee851d
@ -19,11 +19,9 @@ class command():
|
|||||||
if self.env['input']['oldCapsLock'] == self.env['input']['newCapsLock']:
|
if self.env['input']['oldCapsLock'] == self.env['input']['newCapsLock']:
|
||||||
return
|
return
|
||||||
if self.env['input']['newCapsLock']:
|
if self.env['input']['newCapsLock']:
|
||||||
oldKeyboardEcho = self.env['runtime']['outputManager'].presentText(_("Capslock on"), interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("Capslock on"), interrupt=True)
|
||||||
self.env['runtime']['settingsManager']('keyboard', 'charEcho') = True
|
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(_("Capslock off"), interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("Capslock off"), interrupt=True)
|
||||||
self.env['runtime']['settingsManager']('keyboard', 'charEcho') = oldKeyboardEcho
|
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user