This website requires JavaScript.
Explore
Help
Sign In
sporq
/
kmk_firmware
Watch
1
Star
0
Fork
0
You've already forked kmk_firmware
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
kmk_firmware
/
main.py
4 lines
38 B
Python
Raw
Normal View
History
Unescape
Escape
Address #52 almost entirely - target upstream builds of CircuitPython and simply copy (rsync) KMK source, a basic main.py, and the user's keymap to the CIRCUITPY drive
2018-10-15 02:49:12 -07:00
from
kmk_keyboard
import
main
Make user keymaps fully declarative This removes the need for the user to define... most things, honestly. Notably, `main()` is no longer the end user's responsibility. This also allows us to do fun stuff going forward like validating keymaps for sanity (ex: the key assigned to `KC_MO(x)` should be assigned to `KC_TRNS` on the target layer or the user will never be able to escape that layer). This also disambiguates `BOARD` to always refer to an actual slab of silicon, renaming to `USER_KEYMAP`. Entrypoints are now a bit more wild, and mostly-unsupported boards no longer have working entrypoints. It's probably just time to scrap those boards for now (until we have BLE HID and/or bitbang USB HID, at least).
2018-09-22 22:36:28 -07:00
Unbreak pyboard builds
2018-10-15 03:10:13 -07:00
main
(
)
Reference in New Issue
Copy Permalink