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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (
|
||||
board.RX,
|
||||
board.D13,
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A1, board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.A0, board.D11, board.D10, board.D9)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.D11, board.D10, board.D9, board.D7, board.D13)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -1,11 +1,11 @@
|
||||
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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
# Pin mappings for converter board found at hardware/README.md
|
||||
# QMK: MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
|
||||
# QMK: MATRIX_ROW_PINS { D7, E6, B4, D2, D4 }
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (
|
||||
board.SDA,
|
||||
board.A2,
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.A0)
|
||||
row_pins = (board.D11, board.D10, board.D9, board.D7)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.D13, board.D11, board.D10, board.D9)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.D13, board.D11, board.D10, board.D9, board.D7)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.RX, board.A1, board.A2, board.A3, board.A4, board.A5)
|
||||
row_pins = (board.D13, board.D11, board.D10, board.D9, board.D7)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
# Will need additional work and testing
|
||||
col_pins = (
|
||||
board.A1,
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.D11, board.D10, board.D9, board.RX, board.D13)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (
|
||||
board.A0,
|
||||
board.A1,
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A1, board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
|
||||
row_pins = (board.D13, board.D11, board.D10, board.D9, board.D7)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
@@ -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
|
||||
|
||||
|
||||
class KeyboardConfig(_KeyboardConfig):
|
||||
class KMKKeyboard(_KMKKeyboard):
|
||||
col_pins = (board.A0, board.A1, board.A2, board.A3, board.A4, board.A5, board.SCK)
|
||||
row_pins = (board.D13, board.D11, board.D10, board.D9, board.D7)
|
||||
diode_orientation = DiodeOrientation.COLUMNS
|
||||
|
Reference in New Issue
Block a user