introduce consistent naming scheme

This commit is contained in:
xs5871
2022-04-10 12:46:40 +00:00
committed by Kyle Brown
parent e395e89864
commit 175f0c6a97
6 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ import sys
from kmk.extensions.rgb import RGB, AnimationModes
from kmk.kmk_keyboard import KMKKeyboard
from kmk.scanners.native_keypad_scanner import keys_scanner
from kmk.scanners.keypad import KeysScanner
# fmt: off
@@ -91,4 +91,4 @@ class Keybow(KMKKeyboard):
extensions = [rgb_ext]
def __init__(self):
self.matrix = keys_scanner(_KEY_CFG)
self.matrix = KeysScanner(_KEY_CFG)

View File

@@ -24,7 +24,7 @@ key switches, then adds [BOOT] in (4,0). [RESET] can't be mapped as a key.
import board
from kmk.kmk_keyboard import KMKKeyboard
from kmk.scanners.native_keypad_scanner import keys_scanner
from kmk.scanners.keypad import KeysScanner
# fmt: off
_KEY_CFG = [
@@ -43,4 +43,4 @@ class Keybow2040(KMKKeyboard):
'''
def __init__(self):
self.matrix = keys_scanner(_KEY_CFG)
self.matrix = KeysScanner(_KEY_CFG)