Add Numerical Keypad support from Bolt Industries

This commit is contained in:
Davi Gupta
2023-01-10 22:28:49 -08:00
committed by xs5871
parent d8867004ff
commit 407de4c429
3 changed files with 89 additions and 0 deletions

23
boards/Pico14/kb.py Normal file
View File

@@ -0,0 +1,23 @@
import board
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.scanners import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
col_pins = (
board.GP0,
board.GP1,
board.GP2,
)
row_pins = (
board.GP18,
board.GP19,
board.GP20,
board.GP21,
board.GP22,
)
diode_orientation = DiodeOrientation.COLUMNS
led_pin = board.GP27