Commit Graph
136 Commits
Author SHA1 Message Date
Kyle Brown 0ba5911f8f More animations, now based on time and intervals. Massively WIP 2019-06-21 16:37:53 -07:00
Kyle Brown 7a58ac041f HSV functions added 2019-06-21 16:37:53 -07:00
Kyle Brown 4b033857b1 Initial RGB with test animation running automatically 2019-06-21 16:37:51 -07:00
Elvis Pfutzenreuter dabed0061d Add KC_APP ("Win menu") key 2019-05-31 00:36:42 -03:00
Josh Klar c3ffb7b1ac Merge branch 'master' into epx87 2019-05-20 15:54:10 -07:00
Elvis Pfützenreuter 41dc58e428 Make matrix scanner class configurable 2019-05-17 20:30:42 -03: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 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 9dce78370e Merge branch 'master' into topic-backspace-delete 2019-05-10 13:03:52 -07:00
Elvis Pfützenreuter f9b56d82f7 Add cancel_timeout method
This method is useful when the keymap needs to use
state.set_timeout() and this timeout needs to be
cancellable.

Also, the set_timeout() now returns a timer handle.
2019-04-26 19:50:41 -03:00
Elvis Pfützenreuter 9c4a136989 Use return value of pre-press/pre-release callbacks
When the return value evaluates to False, the key press or key
release is ignored. This allows for implementation of elaborate
keyboard behaviors.
2019-04-26 19:50:41 -03:00
Elvis Pfützenreuter b494857f21 Fix bug in TO layer key handling 2019-04-25 22:40:29 -03:00
Kyle Brown 0016ac8aa3 Merge branch 'master' into topic-backspace-delete 2019-03-21 17:25:16 -07:00
Kyle Brown 8bb55c84cd Literally hurting performance now. Needs removed 2019-03-21 17:24:50 -07:00
Kyle Brown 7e06b143e1 Merge branch 'master' into topic-backspace-delete 2019-03-12 00:25:05 -07:00
Kyle Brown 298f9489c2 Duh, chaining.... 2019-03-12 00:24:48 -07:00
Kyle Brown a2cfa92f2f Missed some obvious things 2019-03-12 00:24:48 -07:00
Kyle Brown e792524b63 Added mod tap with docs 2019-03-12 00:24:48 -07:00
Kyle Brown fc8ddba6cb Adds delete/backspace key. Resolves #93 2019-03-09 15:12:23 -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 0878538f42 Resolve issues with leader mode, allow single-key targets (HID or internal) 2018-12-29 16:52:06 -08:00
Josh Klar 375783742f Remove unused kmk.string (originally from micropython-lib) 2018-12-29 15:42:56 -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
Josh Klar 39a6465658 Checkpoint alpha: Reflow macros and keycodes into a consistent structure. Most internal state functionality largely untouched (just moved) 2018-12-29 04:44:52 -08:00
Josh Klar be4ca3e734 kitsym4: Support the keeb.io Iris using the ProMicro<->ItsyBitsyM4 converter board
The thumb cluster maps a little goofy and I'd like to clean up the
keymap here - it's ENTIRELY NOT OBVIOUS how this works right now. Using
this keymap as an example, the physical layout of my thumb cluster is
actually:

Far left: Left
Next to the right: Right
Bottom right: Shift
Top right: MO(2)

You can see what this maps to in code, and it's not at all intuitive.

`swap_indicies`, which we already support, is useless here because,
unlike the Planck/Klaranck, these aren't 1:1 key swaps, but an entirely
custom mapping of columns. This will require something like QMK's
solution to fully custom (or at least partially custom) keymaps at a
core level, and isn't something I feel like tackling tonight
necessarily.
2018-12-28 23:20:08 -08:00
Kyle Brown 952f6b7022 Added the extra data pin. Will add docs when it's actually doing something 2018-12-12 15:43:33 -08:00
Kyle Brown 5ef6a7a96a Added docs, and removed some old, not needed docs 2018-12-12 15:43:33 -08:00
Kyle Brown e6acef9648 Add initial support (untested) for my layout on nyquist with converter board
Unbrick splits completely

Unbrick splits completely
2018-12-12 15:43:33 -08:00
Josh Klar d6a0538009 kmk.consts: rename UnicodeModes => UnicodeMode
This brings this naming into consistency with both fellow consts in the
same file (ex. LeaderMode is singular) as well as the variables in which
the consts are usually used (usually a `Firmware.unicode_mode` attribute
in a keymap).
2018-12-04 17:03:13 -08:00
Josh Klar b37f3ecdd9 Resolves #85 by bundling string polyfill directly, simplifying deploys 2018-11-05 22:05:07 -08:00
Josh Klar 94ac6d0cbd Merge master and reconcile tapdance with splits
This took a bit of brain surgery to firmware.py that deserves its own
commit message beyond the default merge commit message - tl;dr though,
it appears to work fine.
2018-11-05 21:15:23 -08:00
Kyle Brown 15fea0189b Added remote debugger and cleaned up several things Looks good to merge 2018-10-28 15:03:22 -07:00
Kyle Brown 2b28b99503 Finalize docs, and unbreak failed rebase 2018-10-28 15:03:22 -07:00
Kyle Brown 744d7c1f5d Needs docs, but is basically complete. #3 2018-10-28 15:03:22 -07:00
Kyle Brown 8d3e4e0a63 Fully working split. Needs further testing 2018-10-28 15:03:22 -07:00
Kyle Brown af3eccd715 First keys on slave half actually type! Still needs a bit of work 2018-10-28 15:03:22 -07:00
Kyle Brown 49da93e436 Basic uart split support. Still need docs and testing 2018-10-28 15:03:22 -07:00
Josh Klar d117005d8d Add press-and-hold support to TapDance, and clean up various ways of mangling key press states. Remove pending_keys entirely, replaced with a callback timeout) 2018-10-25 21:58:26 -07:00
Josh Klar 0c13806f1c Add key repeat support for basic alphanumeric tap dance 2018-10-25 21:58:26 -07:00
Josh Klar b0f8c58828 Beginnings of basic tap dance 2018-10-25 21:58:25 -07:00
Josh Klar cc1bfc657f Silly bugfix in ShiftedKeycodes 2018-10-25 21:58:24 -07:00
Josh Klar 74716c4c20 More sane default leader mode 2018-10-19 02:08:13 -07:00
Josh Klar 2d1290a12c Add LeaderMode.TIMEOUT (QMK default Leader mode)
This allows leader sequences to "time out" rather than requiring an
Enter keypress to end.

This also rolls back some unnecessary changes from #72 to the matrix
scanner for performance reasons.

In theory we can use this in the future for Tap Dance support (#40)

Resolves #1
Resolves #37
2018-10-19 01:49:37 -07:00