2018-09-23 11:38:28 +02:00
|
|
|
import machine
|
|
|
|
|
2018-10-12 03:02:13 +02:00
|
|
|
from kmk.consts import DiodeOrientation
|
2018-09-23 11:38:28 +02:00
|
|
|
from kmk.entrypoints.handwire.pyboard import main
|
2018-10-12 03:02:13 +02:00
|
|
|
from kmk.keycodes import KC
|
2018-09-23 11:38:28 +02:00
|
|
|
|
|
|
|
p = machine.Pin.board
|
|
|
|
cols = (p.X10, p.X10, p.X12)
|
|
|
|
rows = (p.X1, p.X2, p.X3)
|
|
|
|
|
|
|
|
diode_orientation = DiodeOrientation.COLUMNS
|
|
|
|
|
|
|
|
keymap = [
|
|
|
|
[
|
|
|
|
[KC.MO(1), KC.H, KC.RESET],
|
|
|
|
[KC.MO(2), KC.I, KC.ENTER],
|
|
|
|
[KC.LCTRL, KC.SPACE, KC.LSHIFT],
|
|
|
|
],
|
|
|
|
[
|
|
|
|
[KC.TRNS, KC.B, KC.C],
|
|
|
|
[KC.NO, KC.D, KC.E],
|
|
|
|
[KC.F, KC.G, KC.H],
|
|
|
|
],
|
|
|
|
[
|
|
|
|
[KC.X, KC.Y, KC.Z],
|
|
|
|
[KC.TRNS, KC.N, KC.O],
|
|
|
|
[KC.R, KC.P, KC.Q],
|
|
|
|
],
|
|
|
|
]
|