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

This commit is contained in:
Josh Klar committed 2018-10-15 02:49:12 -07:00
1 parent 4df725569a
commit ebc45d59dc
15 files changed
+103 -246

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
from kmk_keyboard_user import main
if __name__ == '__main__':
main()
@@ -5,14 +5,14 @@ def main():
from kmk.firmware import Firmware
from kmk.matrix import MatrixScanner
import kmk_keyboard_user
import kmk_keyboard
cols = getattr(kmk_keyboard_user, 'cols')
diode_orientation = getattr(kmk_keyboard_user, 'diode_orientation')
keymap = getattr(kmk_keyboard_user, 'keymap')
rows = getattr(kmk_keyboard_user, 'rows')
cols = getattr(kmk_keyboard, 'cols')
diode_orientation = getattr(kmk_keyboard, 'diode_orientation')
keymap = getattr(kmk_keyboard, 'keymap')
rows = getattr(kmk_keyboard, 'rows')
debug_enable = getattr(kmk_keyboard_user, 'debug_enable', False)
debug_enable = getattr(kmk_keyboard, 'debug_enable', False)
if debug_enable:
from logging import DEBUG as log_level
+6 -6
View File
@@ -8,13 +8,13 @@ from kmk.micropython.pyb_hid import HIDHelper
def main():
import kmk_keyboard_user
cols = getattr(kmk_keyboard_user, 'cols')
diode_orientation = getattr(kmk_keyboard_user, 'diode_orientation')
keymap = getattr(kmk_keyboard_user, 'keymap')
rows = getattr(kmk_keyboard_user, 'rows')
import kmk_keyboard
cols = getattr(kmk_keyboard, 'cols')
diode_orientation = getattr(kmk_keyboard, 'diode_orientation')
keymap = getattr(kmk_keyboard, 'keymap')
rows = getattr(kmk_keyboard, 'rows')
debug_enable = getattr(kmk_keyboard_user, 'debug_enable', False)
debug_enable = getattr(kmk_keyboard, 'debug_enable', False)
if debug_enable:
from logging import DEBUG as log_level