Rename KeyboardConfig to KMKKeyboard - prepping for later merge with InternalState
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import board
|
||||
|
||||
from kmk.keyboard_config import KeyboardConfig as _KeyboardConfig
|
||||
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
||||
from kmk.matrix import DiodeOrientation
|
||||
from kmk.matrix import intify_coordinate as ic
|
||||
|
||||
# Implements what used to be handled by KeyboardConfig.swap_indicies for this
|
||||
# Implements what used to be handled by KMKKeyboard.swap_indicies for this
|
||||
# board, by flipping various row3 (bottom physical row) keys so their
|
||||
# coord_mapping matches what the user pressed (even if the wiring
|
||||
# underneath is sending different coordinates)
|
||||
@@ -18,7 +18,7 @@ def r3_swap(col):
|
||||
return col
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
# physical, visible cols (SCK, MO, MI, RX, TX, D4)
|
||||
# physical, visible rows (10, 11, 12, 13) (9, 6, 5, SCL)
|
||||
col_pins = (board.SCK, board.MOSI, board.MISO, board.RX, board.TX, board.D4)
|
||||
|
Reference in New Issue
Block a user