add debug

This commit is contained in:
Chrys 2022-02-22 19:27:29 +01:00
parent 523e9f43b1
commit 12bfca24f5

View File

@ -19,6 +19,8 @@ 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')
self.env['runtime']['debug'].writeDebugOut('charEchoMode: ' + str(active) + ' CAPS:' + str(self.env['input']['newCapsLock']),debug.debugLevel.INFO)
# 0 = off # 0 = off
if active == 0: if active == 0:
return return