Update commandManager.py
This commit is contained in:
parent
2082c73554
commit
ec4b1408b6
@ -255,8 +255,8 @@ class commandManager():
|
|||||||
formattedKey = k
|
formattedKey = k
|
||||||
if formatKeys:
|
if formatKeys:
|
||||||
formattedKey = formattedKey.lower()
|
formattedKey = formattedKey.lower()
|
||||||
formattedKey = formattedKey.replace('key_kp', 'kp ')
|
formattedKey = formattedKey.replace('key_kp', ' keypad ')
|
||||||
formattedKey = formattedKey.replace('key_', '')
|
formattedKey = formattedKey.replace('key_', ' ')
|
||||||
shortcut.append(formattedKey)
|
shortcut.append(formattedKey)
|
||||||
rawShortcut.remove(k)
|
rawShortcut.remove(k)
|
||||||
# handle other keys
|
# handle other keys
|
||||||
@ -264,8 +264,8 @@ class commandManager():
|
|||||||
formattedKey = k
|
formattedKey = k
|
||||||
if formatKeys:
|
if formatKeys:
|
||||||
formattedKey = formattedKey.lower()
|
formattedKey = formattedKey.lower()
|
||||||
formattedKey = formattedKey.replace('key_kp', 'kp ')
|
formattedKey = formattedKey.replace('key_kp', ' kp ')
|
||||||
formattedKey = formattedKey.replace('key_', '')
|
formattedKey = formattedKey.replace('key_', ' ')
|
||||||
shortcut.append(formattedKey)
|
shortcut.append(formattedKey)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user