summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Do not enable PERMISSIVE_HOLD when TAPPING_TERM exceeds 500ms (#15674)precondition2022-06-241-7/+5
|
* Refactor steno and add `STENO_PROTOCOL = [all|txbolt|geminipr]` (#17065)precondition2022-06-234-149/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor steno into STENO_ENABLE_[ALL|GEMINI|BOLT] * Update stenography documentation * STENO_ENABLE_TXBOLT → STENO_ENABLE_BOLT TXBOLT is a better name but BOLT is more consistent with the pre-existing TX Bolt related constants, which all drop the "TX " prefix * Comments * STENO_ENABLE_[GEMINI|BOLT|ALL] → STENO_PROTOCOL = [geminipr|txbolt|all] * Add note on lacking V-USB support * Clear chord at the end of the switch(mode){send_steno_chord} block * Return true if NOEVENT * update_chord_xxx → add_xxx_key_to_chord * Enable the defines for all the protocols if STENO_PROTOCOL = all * Mention how to use `steno_set_mode` * Set the default steno protocol to "all" This is done so that existing keymaps invoking `steno_set_mode` don't all suddenly break * Add data driver equivalents for stenography feature * Document format of serial steno packets (Thanks dnaq) * Add missing comma
* In honor of king terry (#17387)SmugSam2022-06-231-0/+6
|
* Fix RGB heatmap to use XY positions and use correct led limits (#17184)Dasky2022-06-212-44/+51
| | | | | | | | | | | | | | | * Fix RGB heatmap to use XY positions * lower effect area limit and make configurable * tidy up macro * Fix triggering in both directions. * add docs * fix bug when decreasing value * performance tweak
* Init eeconfig before reading handedness (#17256)Dasky2022-06-201-0/+4
|
* [Core] Mouse key kinetic mode fix (#17176)Albert Y2022-06-192-13/+18
| | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* Make default layer size 16-bit (#15286)Drashna Jaelre2022-06-191-1/+1
| | | Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* tap-dance: Restructure code and document in more detail (#16394)Jouke Witteveen2022-06-132-100/+70
|
* Ensure that rgb+via compiles in all cases (#17355)Drashna Jaelre2022-06-101-0/+8
|
* Add missing bracket for VIA brightness scaling (#17354)Dasky2022-06-101-1/+1
|
* Scale brigthness for VIA (#17352)yiancar2022-06-101-6/+7
| | | Co-authored-by: yiancar <yiancar@gmail.com>
* Add support for large Mouse Reports (#16371)Drashna Jaelre2022-06-083-32/+71
| | | | Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Move SPLIT_HAND_PIN setup to split_pre_init (#17271)Dasky2022-06-061-1/+4
| | | | | | | | | | | * Move SPLIT_HAND_PIN setup to split_pre_init * doppelganger should use old behaviour * Add comment for future Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-06-052-3/+4
|\
| * Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, ↵Pascal Getreuer2022-06-052-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Retro Shift. (#17284) * Fix Caps Word and Unicode Map * Tests for Caps Word + Auto Shift and Unicode Map. * Fix formatting * Add additional keyboard report expectation macros This commit defines five test utilities, EXPECT_REPORT, EXPECT_UNICODE, EXPECT_EMPTY_REPORT, EXPECT_ANY_REPORT and EXPECT_NO_REPORT for use with TestDriver. EXPECT_REPORT sets a gmock expectation that a given keyboard report will be sent. For instance, EXPECT_REPORT(driver, (KC_LSFT, KC_A)); is shorthand for EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT, KC_A))); EXPECT_UNICODE sets a gmock expectation that a given Unicode code point will be sent using UC_LNX input mode. For instance for U+2013, EXPECT_UNICODE(driver, 0x2013); expects the sequence of keys: "Ctrl+Shift+U, 2, 0, 1, 3, space". EXPECT_EMPTY_REPORT sets a gmock expectation that a given keyboard report will be sent. For instance EXPECT_EMPTY_REPORT(driver); expects a single report without keypresses or modifiers. EXPECT_ANY_REPORT sets a gmock expectation that a arbitrary keyboard report will be sent, without matching its contents. For instance EXPECT_ANY_REPORT(driver).Times(1); expects a single arbitrary keyboard report will be sent. EXPECT_NO_REPORT sets a gmock expectation that no keyboard report will be sent at all. * Add tap_key() and tap_keys() to TestFixture. This commit adds a `tap_key(key)` method to TestFixture that taps a given KeymapKey, optionally with a specified delay between press and release. Similarly, the method `tap_keys(key_a, key_b, key_c)` taps a sequence of KeymapKeys. * Use EXPECT_REPORT, tap_keys, etc. in most tests. This commit uses EXPECT_REPORT, EXPECT_UNICODE, EXPECT_EMPTY_REPORT, EXPECT_NO_REPORT, tap_key() and tap_keys() test utilities from the previous two commits in most tests. Particularly the EXPECT_REPORT macro is frequently useful and makes a nice reduction in boilerplate needed to express many tests. Co-authored-by: David Kosorin <david@kosorin.net>
* | Add keymap wrappers for introspection into the keymap. (#17229)Nick Brassel2022-06-053-0/+42
| | | | | | | | | | * Introspection handlers for keymaps. * Renaming.
* | Allow larger SPLIT_USB_TIMEOUT with default SPLIT_USB_TIMEOUT_POLL (#17272)Dasky2022-06-011-1/+2
| | | | | | | | | | * Switch SPLIT_USB_DETECT loop to uint16_t * Add assertion
* | Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK (#17099)precondition2022-05-301-1/+1
| |
* | Removes terminal from QMK. (#17258)Nick Brassel2022-05-307-388/+6
|/
* Continue Caps Word when AltGr (right Alt) is held. (#17156)Pascal Getreuer2022-05-201-1/+4
| | | | | | | | | | | This is a minor bug fix for Caps Word. Currently, Caps Word turns off whenever a non-shift mod becomes active. This is done to avoid interfering with hotkeys. This commit makes an exception to continue Caps Word when AltGr (right Alt) is held. Outside the US, the AltGr key is used to type additional symbols (https://en.wikipedia.org/wiki/AltGr_key). Depending on the language, these may include symbols used within words like accented letters where it would be desirable to continue Caps Word.
* Rename keymap_extras headers for consistency (#16939)Ryan2022-05-1524-10/+10
|
* [Feature] Add support for multiple switchs/solenoids to Haptic Feedback ↵Drashna Jaelre2022-05-151-1/+1
| | | | engine (#15657)
* Enhancement and fixes of "Secure" feature (#16958)Drashna Jaelre2022-05-145-2/+49
|
* Revert "Fix kinetic mouse mode (#16951)" (#17095)Drashna Jaelre2022-05-141-11/+9
|
* [Core] Add Caps Word feature to core (#16588)Pascal Getreuer2022-05-148-0/+338
| | | | Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
* Fix kinetic mouse mode (#16951)Yorick Peterse2022-05-141-9/+11
| | | Co-authored-by: Jan Christoph Ebersbach <jceb@e-jc.de>
* [Core] Add Reboot keycode to core (#15990)Drashna Jaelre2022-05-143-1/+19
|
* Remove ARM pgm_read_word workaround in rgblight (#16961)Joel Challis2022-04-281-6/+2
|
* Move disable_jtag to platforms (#16960)Joel Challis2022-04-291-14/+0
|
* Sendstring keycode overhaul (#16941)Ryan2022-04-291-196/+267
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-271-0/+134
|\
| * Add Ukrainian keymap header (#16947)Ryan2022-04-281-0/+134
| | | | | | | | | | * Add Ukrainian keymap header * Docs
* | Joystick: Simplify report descriptor and clean up error messages (#16926)Ryan2022-04-261-0/+8
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-2534-8/+628
|\|
| * Add missing dead key LUTs for sendstring headers (#16929)Ryan2022-04-2534-8/+628
| |
* | Fix AVR backlight breathing: low brightness limit & exceeding breathing ↵customMK2022-04-221-2/+6
| | | | | | | | | | | | table max index (#16770) Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: David Hoelscher <infinityis@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-211-3/+4
|\|
| * rgblight: Fix rgblight_blink_layer when multiple layers are active (#16824)Simon Arlott2022-04-211-3/+4
| |
* | Add hacky via support for RGB Matrix (#16086)Drashna Jaelre2022-04-191-3/+105
| |
* | Fixes #16705 : digital rain follows val (#16716)KoenGoe2022-04-191-7/+15
| | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* | [Core] Use a mutex guard for split shared memory (#16647)Stefan Kerkmann2022-04-191-9/+8
| |
* | Add support for multiple sensors to pmw3360 (#15996)uqs2022-04-191-2/+2
| |
* | Fix one-shot locked modifiers (#16114)Denis Savran2022-04-181-5/+2
| | | | | | | | | | | | | | | | | | | | | | * Fix state updates of one-shot locked modifiers Activating additional one-shot locked modifiers removed previously enabled locked modifiers from the state. `get_oneshot_locked_mods` returned zero when two or more one-shot locked modifiers were enabled and then one was disabled. * Do not delete one-shot locked modifiers on a one-shot layer toggle Non-locked one-shot modifiers are not removed so this behavior adds inconsistency. Also the one-shot locked modifiers state was reset without unregistering any modifiers.
* | Add customizable snake and knight animation increments (#16337)Michał Szczepaniak2022-04-182-4/+12
| |
* | Fix #16859. (#16865)Nick Brassel2022-04-171-1/+1
| |
* | [QP] Check BPP capabilities before loading the palette (#16863)Stefan Kerkmann2022-04-171-6/+6
| |
* | rgblight: Add functions to stop blinking one or all but one layer (#16859)Simon Arlott2022-04-172-1/+34
| |
* | Heatmap incorrect matrix effect workaround (#16315)Albert Y2022-04-161-0/+5
| |
* | Add GET_TAPPING_TERM macro to reduce duplicate code (#16681)Jouke Witteveen2022-04-166-42/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add GET_TAPPING_TERM macro to reduce duplicate code The macro gives the right tapping term depending on whether per-key tapping terms and/or dynamic tapping terms are enabled. Unnecessary function calls and variable resolution are avoided. Fixes #16472. * Use GET_TAPPING_TERM for Cirque trackpads Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* | Implement XAP 'secure' core requirements (#16843)Joel Challis2022-04-168-0/+230
| | | | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>