list -> set for efficiency
parent
15330c6901
commit
41273df385
|
@ -1,4 +1,4 @@
|
|||
validKeyList = [
|
||||
validKeyList = {
|
||||
# top row
|
||||
'escape', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12',
|
||||
# keyboard
|
||||
|
@ -16,7 +16,7 @@ validKeyList = [
|
|||
# arrows
|
||||
'uparrow', 'downarrow',
|
||||
'leftarrow', 'rightarrow'
|
||||
]
|
||||
}
|
||||
|
||||
popErrors = (AttributeError, KeyError, TypeError)
|
||||
|
||||
|
@ -636,4 +636,4 @@ class Bind(ScriptBind):
|
|||
# all inheritances have been completed
|
||||
|
||||
ScriptBind.bindTypes = ScriptBind.__subclasses__()
|
||||
Double.bindNames = [ bind.__name__.lower() for bind in ScriptBind.bindTypes ]
|
||||
Double.bindNames = [ bind.__name__.lower() for bind in ScriptBind.bindTypes ]
|
||||
|
|
Loading…
Reference in New Issue