aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/quantum.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify tap_code16_delay (#25595)フィルターペーパー2025-09-061-3/+1
| | | | * Replaced for-loop with single wait_ms(delay) call * Improve code consistency with tap_code_delay
* Align sleep_led logic (#25395)Joel Challis2025-06-271-0/+12
|
* Remove `process_action_kb` callback (#25331)Joel Challis2025-06-041-8/+5
|
* Relocate remaining `process_record_quantum` keycodes (#25328)Joel Challis2025-06-041-75/+8
|
* Fix quantum.c keycode handling (#25322)Stephen Ostermiller2025-06-021-4/+5
|
* Implement connection keycode logic (#25176)Joel Challis2025-04-211-2/+2
|
* Community modules (#24848)Nick Brassel2025-02-261-1/+25
|
* Invoke `process_record_via` after `_user`/`_kb` have a chance to handle it. ↵Nick Brassel2025-01-291-3/+3
| | | | (#24879)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)Joel Challis2024-11-231-0/+7
| | | | | | | | | | | | * [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881) * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> --------- Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Review fixes for layer lock feature (#24627)Joel Challis2024-11-211-1/+1
|
* [Core] Add Layer Lock feature (#23430)Drashna Jaelre2024-11-211-0/+7
| | | | | | Co-authored-by: Daniel <1767914+iamdanielv@users.noreply.github.com> Co-authored-by: Pascal Getreuer <getreuer@google.com> Co-authored-by: Pascal Getreuer <50221757+getreuer@users.noreply.github.com>
* Backward compatibility for new RGB keycode handling (#24490)Ryan2024-11-191-2/+2
| | | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* Separate RGBLight/RGB Matrix keycode handling (#23679)Ryan2024-10-121-4/+11
| | | | | | | | | | | | | | | * Separate RGBLight/RGB Matrix keycode handling * Remove `_DISABLE_KEYCODES` handling * Update RGB Matrix keycode docs * Update underglow keycodes for previously migrated boards * Update keycodes for boards with custom handling * Fix typos * Fix bad merge
* Add easier way to set default single layer (#24376)Andre Brait2024-10-061-2/+6
| | | | * Add set_single_default_layer to match set_single_persistent_default_layer * Implements exactly the same behavior, except the write to EEPROM
* Add new connection keycodes for Bluetooth, 2.4GHz. (#24251)Nick Brassel2024-08-271-12/+4
|
* Segregrate keycode at pre-process record quantum (#24194)フィルターペーパー2024-08-261-3/+2
|
* Separate keycode handling for LED Matrix and Backlight (#23426)Ryan2024-04-111-2/+9
|
* Improve and Cleanup Shutdown callbacks (#21060)Drashna Jaelre2023-11-261-7/+14
| | | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* Migrate some common features to generic (#22403)Joel Challis2023-11-091-2/+2
|
* Move velocikey to within rgblight (#22123)Joel Challis2023-09-251-7/+3
|
* Unicode, Unicodemap and UCIS refactor (#21659)Ryan2023-08-271-4/+0
|
* quantum.h: clean up process_keycode includes (#21579)Ryan2023-07-291-6/+46
|
* Allow key override to respect weak mods caused by caps word (#21434)Jake Grossman2023-07-071-3/+3
|
* Fix backlight sync on suspend_power_down for split keyboards (#21079)Evgenii Vilkov2023-05-311-1/+1
|
* [Core] Add Repeat Key ("repeat last key") as a core feature. (#19700)Pascal Getreuer2023-05-201-1/+4
| | | | | Co-authored-by: casuanoob <96005765+casuanoob@users.noreply.github.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Move `pre_process_record_kb()` before `process_combo()` (#20969)Sergey Vlasov2023-05-201-4/+3
|
* Add a user callback for pre process record (#20584)Albert Y2023-05-131-5/+12
|
* [Core] Tri Layer Keys (#19795)Drashna Jaelre2023-02-121-10/+3
| | | | | | | Co-authored-by: wilba <wilba@wilba.tech> Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Remove matrix_init_quantum/matrix_scan_quantum (#19806)Joel Challis2023-02-111-8/+0
|
* Tidy up use of keycode range helpers (#19756)Joel Challis2023-02-101-2/+2
|
* Fix functions with empty params (#19647)Ryan2023-01-201-4/+4
| | | | | * Fix functions with empty params * Found a bunch more
* Process Tap Dances before WPM/Velocikey (#19599)Jouke Witteveen2023-01-171-8/+8
|
* Normalise output selection (Bluetooth) keycodes (#19004)Ryan2022-11-081-3/+3
|
* Remove thermal printer. (#18959)Nick Brassel2022-11-051-3/+0
|
* Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*` (#18844)Ryan2022-10-251-3/+3
| | | | | * Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*` * Docs
* Deprecate `VLK_TOG` for `VK_TOGG` (#18807)Ryan2022-10-221-1/+1
|
* Deprecate `KC_LEAD` for `QK_LEAD` (#18792)Ryan2022-10-211-1/+1
|
* Allow QK_MAKE to work with converters (#18637)jpe2302022-10-081-0/+4
|
* Fix layer switching from tap dances by redoing the keymap lookup (#17935)Sergey Vlasov2022-10-031-1/+5
|
* [Core] Pointing Device Automatic Mouse Layer (#17962)Alabastard-642022-09-241-0/+3
| | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* [Core] Add getreuer's Autocorrect feature to core (#15699)Drashna Jaelre2022-09-171-0/+3
| | | Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
* Better handle EEPROM reset keycode (#18244)Drashna Jaelre2022-09-021-1/+3
|
* Fix QK_MAKE's reboot check (#17795)Drashna Jaelre2022-07-261-1/+1
|
* implement `tap_code16_delay` (#17748)JayceFayne2022-07-231-5/+16
|
* Add ability to enter bootloader mode from `QK_MAKE` (#17745)jack2022-07-231-0/+3
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-06-051-3/+3
|\
| * Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, ↵Pascal Getreuer2022-06-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Removes terminal from QMK. (#17258)Nick Brassel2022-05-311-3/+0
|/
* Enhancement and fixes of "Secure" feature (#16958)Drashna Jaelre2022-05-151-0/+13
|
* [Core] Add Caps Word feature to core (#16588)Pascal Getreuer2022-05-141-0/+3
| | | | Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>