Compare commits
No commits in common. "1bb827e8dcb4a378ccfac5aa8e64a32f2e270559" and "dc61988af7dfc1752c1c54d819e34649a4ec23f0" have entirely different histories.
1bb827e8dc
...
dc61988af7
|
@ -18,11 +18,3 @@ cd /opt/kmk_firmware
|
|||
python util/compile.py
|
||||
cp ~.compiled/kmk~ folder -> mcu
|
||||
```
|
||||
|
||||
## Misc
|
||||
|
||||
- Press reset button when NeoPixel starts to blink yellow during early boot.
|
||||
- Format storage via `REPL`: https://docs.circuitpython.org/en/latest/docs/troubleshooting.html
|
||||
- [MicroPython Docs](https://docs.micropython.org/en/latest/index.html)
|
||||
- [CircuitPython Docs](https://docs.circuitpython.org/en/latest/docs/environment.html#environment-variables)
|
||||
|
||||
|
|
32
ardux/kb.py
32
ardux/kb.py
|
@ -8,11 +8,8 @@ from kmk.scanners.keypad import KeysScanner
|
|||
|
||||
from kmk.modules.layers import Layers
|
||||
from kmk.modules.combos import Combos, Chord
|
||||
from kmk.modules.mouse_keys import MouseKeys
|
||||
|
||||
from kmk.extensions.media_keys import MediaKeys
|
||||
|
||||
from ardux.chord import ArduxChord
|
||||
|
||||
from kmk.keys import KC
|
||||
|
||||
class ArduxKeyboard(KMKKeyboard):
|
||||
|
@ -22,27 +19,8 @@ class ArduxKeyboard(KMKKeyboard):
|
|||
]
|
||||
|
||||
keymap = [
|
||||
# std - left - base
|
||||
[KC.S, KC.T, KC.R, KC.A,
|
||||
KC.O, KC.I, KC.Y, KC.E],
|
||||
# std - left - parenthesis
|
||||
[KC.RIGHT_CURLY_BRACE, KC.LEFT_PAREN, KC.RIGHT_PAREN, KC.TRANSPARENT,
|
||||
KC.LEFT_CURLY_BRACE, KC.LBRACKET, KC.RBRACKET, KC.NO],
|
||||
# std - left - number
|
||||
[KC.TRANSPARENT, KC.N3, KC.N2, KC.N1,
|
||||
KC.NO, KC.N6, KC.N5, KC.N4],
|
||||
# std - left - navigation
|
||||
[KC.PGUP, KC.END, KC.UP, KC.HOME,
|
||||
KC.PGDOWN, KC.LEFT, KC.DOWN, KC.RIGHT],
|
||||
# std - left - symbols
|
||||
[KC.GRAVE, KC.SCOLON, KC.BSLASH, KC.EXCLAIM,
|
||||
KC.EQUAL, KC.MINUS, KC.QUESTION, KC.TRANSPARENT],
|
||||
# std - left - custom
|
||||
[KC.NO, KC.AUDIO_VOL_UP, KC.INSERT, KC.AUDIO_MUTE,
|
||||
KC.TRANSPARENT, KC.AUDIO_VOL_DOWN, KC.PSCREEN, KC.RSHIFT],
|
||||
# std - left - mouse
|
||||
[KC.MW_DOWN, KC.MB_RMB, KC.MS_UP, KC.MB_LMB,
|
||||
KC.MW_DOWN, KC.MS_LEFT, KC.MS_DOWN, KC.MS_RIGHT]
|
||||
KC.O, KC.I, KC.Y, KC.E]
|
||||
]
|
||||
|
||||
# Init / constructor / setup
|
||||
|
@ -61,12 +39,6 @@ class ArduxKeyboard(KMKKeyboard):
|
|||
# Layers
|
||||
self.modules.append(Layers())
|
||||
|
||||
# Media Keys
|
||||
self.extensions.append(MediaKeys())
|
||||
|
||||
# Mouse Keys
|
||||
self.modules.append(MouseKeys())
|
||||
|
||||
# Combos
|
||||
self.combo_module = Combos()
|
||||
self.modules.append(self.combo_module)
|
||||
|
|
Loading…
Reference in a new issue