dont toggle when fenrir key is pressed

This commit is contained in:
Chrys 2022-02-22 20:37:23 +01:00
parent 4d9e392b84
commit 0ed4eef266

View File

@ -139,6 +139,8 @@ class inputManager():
self.env['input']['prevInput'] = []
def handleLedStates(self, mEvent):
if self.currKeyIsModifier():
return
try:
if mEvent['EventName'] == 'KEY_NUMLOCK':
self.env['runtime']['inputDriver'].toggleLedState()