Rename KeyboardConfig to KMKKeyboard - prepping for later merge with InternalState

This commit is contained in:
Josh Klar
2019-07-25 01:30:55 -07:00
parent b03ae32e7d
commit 666c0a4f08
32 changed files with 68 additions and 68 deletions

View File

@@ -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.D9, board.D10, board.D11, board.D12, board.D13, board.SCL)
row_pins = (board.A3, board.A4, board.A5, board.SCK, board.MOSI)
diode_orientation = DiodeOrientation.COLUMNS

View File

@@ -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,

View File

@@ -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,

View File

@@ -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

View File

@@ -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

View File

@@ -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 }

View File

@@ -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,

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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,

View File

@@ -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

View File

@@ -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,

View File

@@ -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

View File

@@ -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

View File

@@ -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.A5, board.A4, board.A3, board.A2, board.A1, board.A0)
row_pins = (board.D7, board.D9, board.D10, board.D11)
diode_orientation = DiodeOrientation.COLUMNS

View File

@@ -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.MOSI, board.SCK, board.A5, board.A4, board.A3, board.A2)
row_pins = (board.D11, board.D10, board.D9, board.D7)
diode_orientation = DiodeOrientation.COLUMNS