updates from programming_raccoon -- remove timeout on combo module (unneeded / adds lag) ; add method for phsyical config overrides
This commit is contained in:
parent
de994e4941
commit
c48b536d61
|
@ -34,6 +34,10 @@ class ArduxKeyboard(KMKKeyboard):
|
||||||
|
|
||||||
keymap = []
|
keymap = []
|
||||||
|
|
||||||
|
def setup_physical_config(self):
|
||||||
|
# Direct wire & matrix setup
|
||||||
|
self.matrix = KeysScanner([pins[16], pins[17], pins[18], pins[19], pins[12], pins[13], pins[14], pins[15]])
|
||||||
|
|
||||||
# Init / constructor / setup
|
# Init / constructor / setup
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Enable debugging if appropriate
|
# Enable debugging if appropriate
|
||||||
|
@ -44,8 +48,8 @@ class ArduxKeyboard(KMKKeyboard):
|
||||||
self.modules = []
|
self.modules = []
|
||||||
self.extensions = []
|
self.extensions = []
|
||||||
|
|
||||||
# Direct wire & matrix setup
|
# Call setup hook -- matrix/direct wire config
|
||||||
self.matrix = KeysScanner([pins[16], pins[17], pins[18], pins[19], pins[12], pins[13], pins[14], pins[15]])
|
self.setup_physical_config()
|
||||||
|
|
||||||
# Layers
|
# Layers
|
||||||
self.layers_module = Layers()
|
self.layers_module = Layers()
|
||||||
|
@ -55,7 +59,6 @@ class ArduxKeyboard(KMKKeyboard):
|
||||||
|
|
||||||
# Combos
|
# Combos
|
||||||
self.combo_module = Combos()
|
self.combo_module = Combos()
|
||||||
self.combo_module.timeout = 250
|
|
||||||
self.combo_module.prefer_hold = True
|
self.combo_module.prefer_hold = True
|
||||||
self.combo_module.tap_interrupted = False
|
self.combo_module.tap_interrupted = False
|
||||||
self.modules.append(self.combo_module)
|
self.modules.append(self.combo_module)
|
||||||
|
|
Loading…
Reference in a new issue