Commit Graph
100 Commits
Author SHA1 Message Date
Josh Klar 3797797b43 fix(ci): bump flake8 to get fix for PyCQA/pyflakes#367; per-file-ignore ext is now redundant; linter back online in CI 2021-06-20 13:14:41 -07:00
Josh Klar 6bfd5682f9 Merge pull request #199 from DonutCables/donutdev
Update docs/rgb.md for config clarity
2021-05-16 14:54:24 -07:00
Josh Klar 01daa7a07e fix: resolve #197, remove broken Matrix links and instead duplicate README blurb 2021-05-02 20:17:03 -07:00
Josh Klar bf551a6de0 Merge pull request #195 from KMKfw/dependabot/pip/pygments-2.7.4
Bump pygments from 2.4.2 to 2.7.4
2021-03-29 12:26:52 -07:00
Josh Klar b8cb4bda98 Merge pull request #183 from dzervas/fix_deploy_action
Fix deploy action
2020-11-10 22:55:52 -08:00
Josh Klar 1b730cacf3 Merge pull request #180 from KMKfw/topic-rgb-animation
update RGB for more modern cpy versions
2020-10-14 22:07:30 -07:00
Josh Klar dc598ad439 Merge pull request #167 from dzervas/ble_multimple_conns
BLE Multiple Connections
2020-10-14 22:04:29 -07:00
Josh Klar ec16270006 Merge pull request #181 from KMKfw/josh/fix-everyones-linting
fix: everyone's linting; loosen one linter rule on user keymaps
2020-10-14 21:59:32 -07:00
Josh Klar 1016dc552c fix: everyone's linting; loosen one linter rule on user keymaps 2020-10-14 21:54:18 -07:00
Josh Klar 5f4785f0ad Merge pull request #164 from dzervas/master
Move CI to Github Actions
2020-10-14 21:17:21 -07:00
Josh Klar 81c6b0ca5d Merge pull request #159 from KMKfw/rgb-small-cleanup
small docs add for rgb
2020-07-13 15:04:28 -07:00
Josh Klar ee83a32e87 Merge pull request #154 from ekx/topic-ble
Basic BLE functionality
2020-07-07 20:40:22 -07:00
Josh Klar 5096bb7e30 chore: formatting 2020-07-07 20:35:11 -07:00
Josh Klar 9fc4159c9a Merge pull request #155 from KMKfw/topic-layout-update
layout update
2020-07-07 20:00:32 -07:00
Josh Klar b1c180ce78 docs: KMK Matrix moved to klar.sh homeserver 2020-03-29 21:48:23 -07:00
Josh Klar afd924c8c4 Merge pull request #153 from KMKfw/topic-layout-change
layout changes
2020-02-10 13:07:15 -08:00
Josh Klar bec742bbf5 Merge pull request #147 from KMKfw/klardotsh-patch-1
Goodbye, CLA!
2019-10-13 21:12:39 -07:00
Josh Klar 5ef37864de Goodbye, CLA!
It's not particularly useful - we haven't run into any weirdness around contributions and it's a hurdle to contributing that shouldn't need to be there.
2019-10-08 11:14:03 -07:00
Josh Klar 80004bb65f Merge pull request #142 from elvis-epx/altmatrix
Apply matrix_scanner attribute instead of fixed class
2019-08-20 15:50:09 -07:00
Josh Klar 0ed40d3cef Merge pull request #140 from KMKfw/topic-keys19-round2
cKeys Prep: Round 2 - Cleanup SO MUCH STUFF
2019-07-26 11:25:40 -07:00
Josh Klar 666c0a4f08 Rename KeyboardConfig to KMKKeyboard - prepping for later merge with InternalState 2019-07-25 01:30:55 -07:00
Josh Klar b03ae32e7d straggling docs update 2019-07-25 01:20:14 -07:00
Josh Klar 5da4555669 Fix isort ordering 2019-07-25 01:06:09 -07:00
Josh Klar 6baaf5e5d4 Continue to shuffle and burn stuff
- Remove the concept of "mcus". With only one target platform
(CircuitPython), it no longer makes a bunch of sense and has been kept
around for "what if" reasons, complicating our import chains and eating
up RAM for pointless subclasses. If you're a `board`, you derive from
`KeyboardConfig`. If you're a handwire, the user will derive from
`KeyboardConfig`. The end. As part of this, `kmk.hid` was refactored
heavily to emphasize that CircuitPython is our only supported HID stack,
with stubs for future HID implementations (`USB_HID` becomes
`AbstractHID`, probably only usable for testing purposes,
`CircuitPython_USB_HID` becomes `USBHID`, and `BLEHID` is added with an
immediate `NotImplementedError` on instantiation)

- `KeyboardConfig` can now take a HID type at runtime. The NRF52840
boards will happily run in either configuration once CircuitPython
support is in place, and a completely separate `mcu` subclass for each
mode made no sense. This also potentially allows runtime *swaps* of HID
driver down the line, but no code has been added to this effect. The
default, and only functional value, for this is `HIDModes.USB`

- Most consts have been moved to more logical homes - often, the main
or, often only, component that uses them. `DiodeOrientation` moved to
`kmk.matrix`, and anything HID-related moved to `kmk.hid`
2019-07-25 00:58:23 -07:00
Josh Klar eb566b0f71 Remove two classes that havent been used in almost a year 2019-07-25 00:35:08 -07:00
Josh Klar 8c57844a22 Remove a ton of leftover MicroPython code and abstractions, including all of kmk.pins 2019-07-25 00:32:20 -07:00
Josh Klar 86c8e006e0 Remove ancient, no-way-this-is-working-right-now test leftovers 2019-07-25 00:10:49 -07:00
Josh Klar 17ba405bcc Don't try to lint dist/compiled files 2019-07-25 00:05:29 -07:00
Josh Klar 45cadc7e5a CircuitPython-provided modules should be considered stdlib-equiv by isort terms. Apply this new rule. 2019-07-25 00:04:06 -07:00
Josh Klar 11a4604f88 Move our preload hacks out of keyboard_config into their own module. Isolate the ugliness 2019-07-25 00:03:35 -07:00
Josh Klar 38e8102532 Remove kmk.util by moving reboot/bootloader to their only use location 2019-07-24 23:45:50 -07:00
Josh Klar 02401e2ec0 Move kmk.util.get_wide_ordinal to kmk.handlers.sequences 2019-07-24 23:44:26 -07:00
Josh Klar 1eaf0e2c79 flatten_dict is no longer used, remove it 2019-07-24 23:43:39 -07:00
Josh Klar ef1c69aa2c Fix linting; move kmk.util.intify_coordinate to kmk.matrix.intify_coordinate (trying to deprecate/remove util) 2019-07-24 23:43:00 -07:00
Josh Klar 4bdf926360 boot.py is still required - ensure it ends up in our dists and is documented 2019-07-24 23:28:13 -07:00
Josh Klar 6b73a5ec56 Update keymap/keyboardconfig docs 2019-07-24 23:19:45 -07:00
Josh Klar 5a43bc291d Merge pull request #139 from KMKfw/topic-try-black
Enforce the Black autoformatter and code style
2019-07-24 23:19:28 -07:00
Josh Klar 64267bdc5b fix a totally unrelated bug 2019-07-24 23:15:57 -07:00
Josh Klar aaeaa74a0c Run black against source tree 2019-07-24 23:03:13 -07:00
Josh Klar 5c0c13e8d0 Prepare for Black autoformatting: dependencies, string staging, single-quote string override 2019-07-24 23:03:13 -07:00
Josh Klar 8100b91dbc Merge pull request #138 from KMKfw/topic-prep-for-ckeys2019
Prep for ckeys2019: Round One
2019-07-24 21:57:32 -07:00
Josh Klar 614883ef80 More docs updates 2019-07-24 21:25:10 -07:00
Josh Klar 7197f7a3a4 fill out features list 2019-07-24 21:25:10 -07:00
Josh Klar 5771a89433 for now just always point at master 2019-07-24 21:25:10 -07:00
Josh Klar 55b07f330c more docs, actually allow public access to release zips 2019-07-24 21:25:10 -07:00
Josh Klar 39220beddb tag releases within the dists as well (for debugging, mostly) 2019-07-24 21:25:10 -07:00
Josh Klar 39e3a65955 Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
Josh Klar cd7d8a2e4c Ability to build release zips in CI 2019-07-24 21:25:10 -07:00
Josh Klar 8f5511327e Makefile can compile KMK to MPY files 2019-07-24 21:25:10 -07:00
Josh Klar ffe3fa3c64 Get MPY cross compiler into the Docker image 2019-07-24 21:25:10 -07:00
Josh Klar a51d11f6e6 A wild W504 linter error appeared! Fix those. 2019-07-24 21:25:10 -07:00
Josh Klar 5c8bd45615 fix dockerfile 2019-07-24 21:25:10 -07:00
Josh Klar d0d1608350 fixup for keyboard_config 2019-07-24 21:25:10 -07:00
Josh Klar ea62d08d2c Let's try alpine for Circle images 2019-07-24 21:25:10 -07:00
Josh Klar 1e9625ae0e Rename "Firmware" to "KeyboardConfig" for clarity in main.py and to illustrate separation of KeyboardConfig/InternalState 2019-07-24 21:25:10 -07:00
Josh Klar e8c3b5ac70 The CircuitPython "MCU" (misnomer now?) is generic anyway - name it as such 2019-07-24 21:25:10 -07:00
Josh Klar b3e9a14e71 README accuracy 2019-07-24 21:25:10 -07:00
Josh Klar 3b6286b480 We no longer support STM32 anyway, remove these leftover udev rules 2019-07-24 21:25:10 -07:00
Josh Klar 3a1ce093ee Update local Python dev deps 2019-07-24 21:25:10 -07:00
Josh Klar 6f3273a6f8 README stub - needs finishing
refs #126
2019-07-24 21:25:10 -07:00
Josh Klar ef09454d2e chore: fix ryan board to pass linting 2019-07-17 16:05:40 -07:00
Josh Klar d15aa65cc6 Kyle built a Gherkin handwire on Feather nrf52840! Unclean but works 2019-07-17 16:05:40 -07:00
Josh Klar c11984135a looks like this is not needed, so save some bootup time 2019-07-17 16:05:40 -07:00
Josh Klar 76087749fb Download more RAM (reword this in a rebase plz) 2019-07-17 16:05:40 -07:00
Josh Klar d34e8ce9d2 Re-add LED support
This reverts commit 5b069a0104.
2019-07-17 16:05:40 -07:00
Josh Klar f6a39acd26 Merge pull request #133 from KMKfw/topic-misc-perf
Slight perf improvements, heavily improved logging/debugging output
2019-07-12 17:01:26 -07:00
Josh Klar 350c2438ad Disable GC on every cycle, too much lag 2019-07-12 16:54:38 -07:00
Josh Klar 17094a2988 Clean some code up; force GC on every cycle 2019-07-12 16:38:50 -07:00
Josh Klar 2947f81489 Remove pointless reversed_active_layers/active_layers difference 2019-07-12 15:31:27 -07:00
Josh Klar 1fe80fec92 Clean up and standardize print() debug stuff 2019-07-12 15:16:33 -07:00
Josh Klar edcb681169 Merge pull request #132 from KMKfw/revert-115-topic-led
Revert "Monocolor LED backlight added"
2019-07-07 15:41:53 -07:00
Josh Klar 5b069a0104 Revert "Monocolor LED backlight added" 2019-07-07 15:35:15 -07:00
Josh Klar 7bff667a2b Merge pull request #115 from KMKfw/topic-led
Monocolor LED backlight added
2019-06-26 04:07:43 -07:00
Josh Klar e332804dc9 Merge pull request #131 from elvis-epx/kcapp
Add KC_APP ("Win menu") key
2019-05-30 20:38:38 -07:00
Josh Klar fa0421c5b9 Merge pull request #129 from elvis-epx/epx87
Make matrix scanner class configurable
2019-05-20 15:55:06 -07:00
Josh Klar c3ffb7b1ac Merge branch 'master' into epx87 2019-05-20 15:54:10 -07:00
Josh Klar 9bb82d009c Merge pull request #128 from KMKfw/topic-flattened-matrix
Resolves #121: Use flattened keymaps, which can visually represent the logical layout, rather than the physical wiring
2019-05-20 15:53:05 -07:00
Josh Klar 0b364cf7f1 Resolves #121: Use flattened keymaps, which can visually represent the logical layout, rather than the physical wiring 2019-05-12 17:47:16 -07:00
Josh Klar d70c2ccc17 Merge pull request #127 from KMKfw/topic-cpy4-rc2-compat
Compatibility with CircuitPython 4.0.0-rc2
2019-05-12 16:08:51 -07:00
Josh Klar 7fcd36f2fb Refs #104: Keyboard can work without REPL connected on >=4.0.0-alpha3 (tested only against single-piece boards so far) 2019-05-12 14:14:59 -07:00
Josh Klar cf5ee5d4b2 Resolves an OverflowError in matrix scans (board-breaking) 2019-05-12 13:19:44 -07:00
Josh Klar 7297bc4521 update gitignore 2019-05-12 13:19:24 -07:00
Josh Klar 85ba57f9b0 Merge pull request #120 from KMKfw/topic-backspace-delete
Adds delete/backspace key. Resolves #93
2019-05-10 13:05:12 -07:00
Josh Klar 9dce78370e Merge branch 'master' into topic-backspace-delete 2019-05-10 13:03:52 -07:00
Josh Klar f073b7568b Merge pull request #125 from elvis-epx/master
Fix bug in TO layer key handling and add new API
2019-05-10 13:02:12 -07:00
Josh Klar 1ad7602a9b Merge pull request #105 from KMKfw/topic-refactor-keycodes-and-macros
Congressional Bill 122918 Forgot To Sleep Edition: Refactor everything about how key definitions work
2019-02-21 09:55:42 -08:00
Josh Klar d4f4872b00 So much documentation 2019-02-18 16:35:07 -08:00
Josh Klar 848afb7801 Allow pre/post on_press/on_release handlers to be attached to all keys (example provided) 2019-02-18 15:08:07 -08:00
Josh Klar 4ab673ba80 Resolves #106: Unbreak KC.GESC 2019-01-23 01:52:27 -08:00
Josh Klar 6ddfbadfbf Remove unused function and useless comment 2019-01-14 11:25:21 -08:00
Josh Klar bcdc97a56b More keymap updates 2018-12-29 16:52:44 -08:00
Josh Klar 0878538f42 Resolve issues with leader mode, allow single-key targets (HID or internal) 2018-12-29 16:52:06 -08:00
Josh Klar ea63c888d6 Oops, never fixed MY OWN LAYOUT. So many bugs.... 2018-12-29 15:57:30 -08:00
Josh Klar 375783742f Remove unused kmk.string (originally from micropython-lib) 2018-12-29 15:42:56 -08:00
Josh Klar 9bed3db9be Update all other keymaps currently in the system 2018-12-29 15:36:46 -08:00
Josh Klar 413e8b8806 Rename keycodes to keys, simpler and easier to deal with 2018-12-29 15:29:11 -08:00
Josh Klar faa61f7df1 Remove debug leftovers causing failed lints 2018-12-29 07:27:44 -08:00
Josh Klar e5c8f5587d Merge unicode handlers with the others. Prove arbitrary Macros are now doable in userspace 2018-12-29 07:10:11 -08:00
Josh Klar 8a21b4135d Restore Unicode Macro support 2018-12-29 06:58:08 -08:00
Josh Klar 57239e3163 Everything necessary to get this to boot finally. Planck types! 2018-12-29 06:03:31 -08:00