Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed Aug 4, 2023
1 parent f5aaee7 commit 51dd0ba
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions boards/a_dux/kb.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,14 @@
# GPIO to key mapping - each line is a new row.
# fmt: off
_KEY_CFG_LEFT = [
pins[7], pins[1], pins[16], pins[13], pins[19],
pins[8], pins[5], pins[17], pins[14], pins[18],
pins[9], pins[6], pins[0], pins[15], pins[12],
pins[10], pins[11],
pins[7], pins[1], pins[16], pins[13], pins[19],
pins[8], pins[5], pins[17], pins[14], pins[18],
pins[9], pins[6], pins[0], pins[15], pins[12],
pins[10], pins[11],
]


# fmt: on

class KMKKeyboard(_KMKKeyboard):
def __init__(self):
# create and register the scanner
self.matrix = KeysScanner(_KEY_CFG_LEFT)
data_pin = pins[4]

# flake8: noqa
Expand All @@ -28,3 +23,7 @@ def __init__(self):
10, 11, 12, 13, 14, 31, 30, 29, 28, 27,
15, 16, 33, 32
]

def __init__(self):
# create and register the scanner
self.matrix = KeysScanner(_KEY_CFG_LEFT)

0 comments on commit 51dd0ba

Please sign in to comment.