Commit Graph

127 Commits

Author SHA1 Message Date
Kyle Brown
8a166ac91f power integrated fully, and guarded against i2c locks
power integrated fully, and guarded against i2c locks

led update

touchup
2020-11-13 23:27:48 -08:00
Kyle Brown
c2c456ce1a Docs added 2020-11-13 23:27:48 -08:00
Kyle Brown
4cc99d487d Cruft cleaned, timers more accurate 2020-11-13 23:27:48 -08:00
Kyle Brown
7566981966 move boards out of kmk 2020-11-13 23:27:48 -08:00
Kyle Brown
2edad3c371 cleanup, less hacks, less GC 2020-11-13 23:27:48 -08:00
Kyle Brown
6d941a39bf Simplify splits, expand extentions 2020-11-13 23:27:48 -08:00
Kyle Brown
994012b249 allow matrix sync on BLE split
typo
2020-11-13 23:27:48 -08:00
Kyle Brown
9e9c306bf2 Ported BLE Splits to this branch
ble-splits/corne working
2020-11-13 23:27:48 -08:00
Kyle Brown
a7b44699b5 fixed splits. Enabled extensions on nyquist 2020-11-13 23:27:48 -08:00
Kyle Brown
54592a01b0 Finished porting RGB to extensionss 2020-11-13 23:27:48 -08:00
Kyle Brown
9972e8d23d closer to working, but not right 2020-11-13 23:27:48 -08:00
Josh Klar
2c4e866024 Initial attempt to merge internal_state with kmk_keyboard. Seems to work on Plank so far
fix formatting

Example of new "Extension"/plugin system, using LED

Cleanup of RGB code

staticmethod to proper, normal methods

Needs cleanup, but: migrate Leader to Extension API

remove useless self reurns

fix an AttributeError with Leader key removal

Checkpoint from the weekend: split as an Extension (not working or done yet)

wip
2020-11-13 23:27:48 -08:00
Kyle Brown
015e0cdfd7 linter fix 2020-10-15 15:42:12 -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
1016dc552c fix: everyone's linting; loosen one linter rule on user keymaps 2020-10-14 21:54:18 -07:00
Kyle Brown
026308bbeb layout change 2020-10-09 22:17:20 -07:00
Kyle Brown
945fcca7b0 kdb424 corne keymap added 2020-10-01 13:29:34 -07:00
Dimitris Zervas
a6d36d57a7 Add multimple connection support 2020-10-01 23:02:05 +03:00
Dimitris Zervas
7bd2bdb35f Fix lab68 keymap 2020-10-01 23:02:05 +03:00
Kyle Brown
73b7464ec1 initial corne support on the nicenano 2020-10-01 12:41:18 -07:00
Kyle Brown
b65a94972c layout update 2020-09-30 12:31:26 -07:00
Dimitris Zervas
2cf64d8ce7 [ble] Add support to clear all current bondings 2020-09-29 19:35:49 -07:00
Dimitris Zervas
e5700eeb5f [ble] Add support to change ble name from KMKKeyboard.go 2020-09-29 09:35:00 -07:00
Dimitris Zervas
4d46653526 Fix formatting and make lab68 bluetooth 2020-09-13 18:20:58 -07:00
Dimitris Zervas
b082f26d9e Fix typos in lab68 and add compatibility for MCP to matrix 2020-09-13 18:20:58 -07:00
Dimitris Zervas
ac9f4927c9 Add lab68 keymap 2020-09-13 18:20:58 -07:00
Kyle Brown
2244c95db6 layout update 2020-06-30 15:04:33 -07:00
Kyle Brown
7c81e01505 layout changes 2020-01-11 14:20:29 -08:00
Josh Klar
666c0a4f08 Rename KeyboardConfig to KMKKeyboard - prepping for later merge with InternalState 2019-07-25 01:30:55 -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
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
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
5c0c13e8d0 Prepare for Black autoformatting: dependencies, string staging, single-quote string override 2019-07-24 23:03:13 -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
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
rk463345
056efa8ca5 Added rk463345 keymap 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
350c2438ad Disable GC on every cycle, too much lag 2019-07-12 16:54:38 -07:00
Josh Klar
5b069a0104 Revert "Monocolor LED backlight added" 2019-07-07 15:35:15 -07:00
Kyle Brown
c16e2c51aa addressing PR feedback 2019-06-24 17:09:52 -07:00
Kyle Brown
5532ffdcbf Ready for merging 2019-06-21 17:28:30 -07:00
Kyle Brown
39b0b1e7f2 final commit before rebase 2019-06-21 16:51:01 -07:00
Kyle Brown
5158094549 Small changes 2019-06-21 16:49:00 -07:00
Kyle Brown
3f8c6e7648 Added support for user animations with docs 2019-06-21 16:49:00 -07:00
Kyle Brown
9d8682c866 Config changes and uses consts to save ram 2019-06-21 16:49:00 -07:00
Kyle Brown
86b8c4ffb0 New animation 2019-06-21 16:49:00 -07:00
Kyle Brown
fa28b3afba Luddite "fixes" for personal layout. Exposes a KMK limitation 2019-06-21 16:47:44 -07:00