xs5871
3f3bd93109
implement global debug interface.
2022-07-22 09:21:30 -07:00
xs5871
914f449699
factor out firmware and unicode mode keys
2022-07-21 18:25:43 -07:00
xs5871
84f1b2ae06
cleanup
2022-07-21 18:25:43 -07:00
xs5871
f086a78864
remove another stack frame level
2022-07-21 18:25:43 -07:00
xs5871
47ccd56c30
refactor initial key lookup
...
based on:
639c38d5aa
2022-07-21 18:25:43 -07:00
Steven Karrmann
4d6983da11
Add 'BSPACE' keycode for documentation consistency
2022-07-20 15:36:24 -07:00
James Fitzgerald
d830ff7293
fix typo and formatting again
2022-07-19 16:16:47 -07:00
James Fitzgerald
fd73292da0
Add shorthand
2022-07-19 16:16:47 -07:00
James Fitzgerald
d584b1f506
Add keycode for software reload
2022-07-19 16:16:47 -07:00
xs5871
ed94ad06da
de-duplicate consumer keys
2022-07-14 16:46:21 -07:00
xs5871
258e622bb4
fix and refactor keyboard unittest
2022-07-05 08:48:18 -07:00
xs5871
357165c14b
fix KC["_"] resolving to BLE_REFRESH
2022-07-02 08:03:05 -07:00
crazyiop
ffcfc9835d
update format to fstring
2022-06-12 09:31:15 +00:00
crazyiop
8d7ae8b284
add info to exception to help debug layers
2022-06-09 11:04:00 +00:00
John Morrison
bb8dec907a
Clear cache rather than reassign, correct ALPHA case check and creation
2022-04-25 17:50:26 +00:00
John Morrison
6a7f5e285e
Remove unused import
2022-04-25 17:50:26 +00:00
John Morrison
5eeb88e2b7
Minimum necessary to add index and get capability and tests
2022-04-25 17:50:26 +00:00
Ryan Rotter
27a0bc1977
refactor Key and ModifierKey __call__ methods
...
- Add tests for ModifierKey chaining
- Rewrite ModifierKey.__call__ for correctness and readability
- __call__ now maintains handlers and meta, like clone()
2022-04-22 09:10:40 -07:00
John Morrison
4d297e6ab2
Typos
2022-04-18 13:28:26 +00:00
Ryan Rotter
c7490087b6
Add ROPT and LOPT as alias for alt keys
...
Additional aliases for macOS key names to match QMK behavior
2022-04-16 17:09:47 -07:00
xs5871
e5f89963cf
fix pystack exhaustion caused by make_shifted_key.
...
This removes multiple layers of indirection, effectively making
`make_shifted_key` only as heavy on the stack as the reguler `make_key`.
2022-04-03 13:47:27 -07:00
tonasz
3687212ed7
Split BLE background advertising
2022-03-23 21:16:09 -07:00
xs5871
a62d39a252
make TapDance a module ( #281 )
...
* extract tapdance logic into a module
* clean out old tapdance code
* canonicalize key variable names
* split _process_tap_dance into td_pressed and td_released
* implement consistent argument order
* update documentation
* implement Module.process_key for key interception and modification
* fix tapdance realesing instead of pressing
* fix: default parameters in key handler
* cleanup holdtap
* add error handling to modules process_key
* fix: key released too late
Tapped keys didn't release on a "key released" event, but waited for a
timeout. Resulted in, for example, modifiers applying to keys after the
modifier was released.
* fix lint/formatting
* fix tap_time reference in modtap + minimal documentation
* fix lint
2022-01-18 05:21:05 +00:00
pcharest2000
5fcd31b97c
Resolve issue 285 in parsing logic, KC.NO was being parsed has an alpha, swapped the control flow treating the special case KC.NO and KC.XXXXX before alphas and nimbers
...
-Fix linting error on last PR
2021-12-06 11:12:55 -08:00
Christian Tu
7586df8de9
fix Key no_release argument
2021-10-01 15:13:45 +02:00
Christian Tu
3ad2a00dc9
initialize event handler lists in Key objects only when needed to reduce memory footprint
2021-09-17 16:14:51 +02:00
Kyle Brown
e77a0af23c
add / to key names
2021-09-12 11:16:53 -07:00
Josh Klar
083e4a701a
fix(keys): fix shifted keys bug, make lazy key defs more readable
2021-07-09 11:21:00 -07:00
Kyle Brown
7310bdd780
add shorthand for KC_NO
2021-07-07 12:53:17 -07:00
Kyle Brown
a77fee7f04
Add shifted keynames to register unshifted versions
2021-07-07 12:53:17 -07:00
Josh Klar
f79e508566
fix(lint): lint all the things; be more flexible in boards dir
2021-06-20 13:59:59 -07:00
Josh Klar
aeee945728
fix(keys): force gc collection in keys setup to reduce memory fragmentation, probably at cost of performance
2021-06-20 13:55:18 -07:00
Gigahawk
6d5b99d78d
Dynamically create core key definitions as required ( #200 )
...
* Dynamically allocate keys as required
* Restore comments
* Run linter
* Move key definitions into a dict
* Revert "Move key definitions into a dict"
This reverts commit 49ac7c2e40
.
2021-06-20 13:55:18 -07:00
Kyle Brown
e72d2b8c34
feat(extensions): most of the extensions implementation, by kdb424
2021-06-20 13:55:16 -07:00
Josh Klar
9821f7bcc3
Initial attempt to merge internal_state with kmk_keyboard. Seems to work on Plank so far
2021-06-20 13:53:39 -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
Kyle Brown
1a4e81a2e5
Remove GC. Not needed on newer Cpy versions
2020-10-13 10:58:18 -07:00
Dimitris Zervas
a6d36d57a7
Add multimple connection support
2020-10-01 23:02:05 +03:00
Dimitris Zervas
2cf64d8ce7
[ble] Add support to clear all current bondings
2020-09-29 19:35:49 -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
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
17094a2988
Clean some code up; force GC on every cycle
2019-07-12 16:38:50 -07:00
Josh Klar
5b069a0104
Revert "Monocolor LED backlight added"
2019-07-07 15:35:15 -07:00
Kyle Brown
5532ffdcbf
Ready for merging
2019-06-21 17:28:30 -07:00
Kyle Brown
86b8c4ffb0
New animation
2019-06-21 16:49:00 -07:00
Kyle Brown
54d63037bf
Added board definition for nyquist and add RGB and LED pins for nyquest and iris
2019-06-21 16:46:59 -07:00
Kyle Brown
f7a1d54752
Added LED support, cleaned up RGB docs
2019-06-21 16:45:04 -07:00