add comment
This commit is contained in:
parent
9a3778e25f
commit
eaa86cb376
@ -19,8 +19,10 @@ class command():
|
|||||||
def run(self):
|
def run(self):
|
||||||
# enabled?
|
# enabled?
|
||||||
active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode')
|
active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode')
|
||||||
|
# 0 = off
|
||||||
if active == 0:
|
if active == 0:
|
||||||
return
|
return
|
||||||
|
# 2 = caps only
|
||||||
if active == 2:
|
if active == 2:
|
||||||
if not self.env['input']['newCapsLock']:
|
if not self.env['input']['newCapsLock']:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user