Skip to content

Commit

Permalink
Fix keypad scanner init (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 authored Nov 10, 2024
1 parent 643afc9 commit 79cff81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kmk/scanners/keypad.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class MatrixScanner(KeypadScanner):
'''

def __init__(self, *args, **kwargs):
self.keypad = keypad.Keys(*args, **kwargs)
self.keypad = keypad.KeyMatrix(*args, **kwargs)
super().__init__()


Expand All @@ -55,5 +55,5 @@ def __init__(self, *args, **kwargs):

class ShiftRegisterKeys(KeypadScanner):
def __init__(self, *args, **kwargs):
self.keypad = keypad.Keys(*args, **kwargs)
self.keypad = keypad.ShiftRegisterKeys(*args, **kwargs)
super().__init__()

0 comments on commit 79cff81

Please sign in to comment.