dont toggle when fenrir key is pressed
This commit is contained in:
parent
4d9e392b84
commit
0ed4eef266
@ -139,6 +139,8 @@ class inputManager():
|
|||||||
self.env['input']['prevInput'] = []
|
self.env['input']['prevInput'] = []
|
||||||
|
|
||||||
def handleLedStates(self, mEvent):
|
def handleLedStates(self, mEvent):
|
||||||
|
if self.currKeyIsModifier():
|
||||||
|
return
|
||||||
try:
|
try:
|
||||||
if mEvent['EventName'] == 'KEY_NUMLOCK':
|
if mEvent['EventName'] == 'KEY_NUMLOCK':
|
||||||
self.env['runtime']['inputDriver'].toggleLedState()
|
self.env['runtime']['inputDriver'].toggleLedState()
|
||||||
|
Loading…
Reference in New Issue
Block a user