summaryrefslogtreecommitdiff
path: root/quantum
Commit message (Collapse)AuthorAge
* Fix check when compiling HID Joystick with digital driver (#17844)Drashna Jaelre2022-07-30
|
* Allow for RGB actions to take place on Keydown instead of Keyup (#16886)CoffeeIsLife2022-07-02
| | | | | * Allow for switch on keydown * add docs
* [QP] Explicit buffer alignment. (#17532)Nick Brassel2022-07-02
|
* [Bug] Fix 3 speed mousekey mode (#17500)Drashna Jaelre2022-06-29
|
* [Bug] Fix issue with mousekey movement getting stuck (#17493)Drashna Jaelre2022-06-28
| | | | | * [Bug] Fix issue with mousekey movement getting stuck * Lint
* Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, ↵Pascal Getreuer2022-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Continue Caps Word when AltGr (right Alt) is held. (#17156)Pascal Getreuer2022-05-20
| | | | | | | | | | | 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-15
|
* [Feature] Add support for multiple switchs/solenoids to Haptic Feedback ↵Drashna Jaelre2022-05-15
| | | | engine (#15657)
* Enhancement and fixes of "Secure" feature (#16958)Drashna Jaelre2022-05-14
|
* Revert "Fix kinetic mouse mode (#16951)" (#17095)Drashna Jaelre2022-05-14
|
* [Core] Add Caps Word feature to core (#16588)Pascal Getreuer2022-05-14
| | | | 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-14
| | | Co-authored-by: Jan Christoph Ebersbach <jceb@e-jc.de>
* [Core] Add Reboot keycode to core (#15990)Drashna Jaelre2022-05-14
|
* Remove ARM pgm_read_word workaround in rgblight (#16961)Joel Challis2022-04-28
|
* Move disable_jtag to platforms (#16960)Joel Challis2022-04-29
|
* Sendstring keycode overhaul (#16941)Ryan2022-04-29
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-27
|\
| * Add Ukrainian keymap header (#16947)Ryan2022-04-28
| | | | | | | | | | * Add Ukrainian keymap header * Docs
* | Joystick: Simplify report descriptor and clean up error messages (#16926)Ryan2022-04-26
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-25
|\|
| * Add missing dead key LUTs for sendstring headers (#16929)Ryan2022-04-25
| |
* | Fix AVR backlight breathing: low brightness limit & exceeding breathing ↵customMK2022-04-22
| | | | | | | | | | | | 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-21
|\|
| * rgblight: Fix rgblight_blink_layer when multiple layers are active (#16824)Simon Arlott2022-04-21
| |
* | Add hacky via support for RGB Matrix (#16086)Drashna Jaelre2022-04-19
| |
* | Fixes #16705 : digital rain follows val (#16716)KoenGoe2022-04-19
| | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* | [Core] Use a mutex guard for split shared memory (#16647)Stefan Kerkmann2022-04-19
| |
* | Add support for multiple sensors to pmw3360 (#15996)uqs2022-04-19
| |
* | Fix one-shot locked modifiers (#16114)Denis Savran2022-04-18
| | | | | | | | | | | | | | | | | | | | | | * 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-18
| |
* | Fix #16859. (#16865)Nick Brassel2022-04-17
| |
* | [QP] Check BPP capabilities before loading the palette (#16863)Stefan Kerkmann2022-04-17
| |
* | rgblight: Add functions to stop blinking one or all but one layer (#16859)Simon Arlott2022-04-17
| |
* | Heatmap incorrect matrix effect workaround (#16315)Albert Y2022-04-16
| |
* | Add GET_TAPPING_TERM macro to reduce duplicate code (#16681)Jouke Witteveen2022-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-16
| | | | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-16
|\|
| * rgblight: Limit max repeat times in rgblight_blink_layer_repeat (#16860)Simon Arlott2022-04-16
| |
* | Quantum Painter (#10174)Nick Brassel2022-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install dependencies before executing unit tests. * Split out UTF-8 decoder. * Fixup python formatting rules. * Add documentation for QGF/QFF and the RLE format used. * Add CLI commands for converting images and fonts. * Add stub rules.mk for QP. * Add stream type. * Add base driver and comms interfaces. * Add support for SPI, SPI+D/C comms drivers. * Include <qp.h> when enabled. * Add base support for SPI+D/C+RST panels, as well as concrete implementation of ST7789. * Add support for GC9A01. * Add support for ILI9341. * Add support for ILI9163. * Add support for SSD1351. * Implement qp_setpixel, including pixdata buffer management. * Implement qp_line. * Implement qp_rect. * Implement qp_circle. * Implement qp_ellipse. * Implement palette interpolation. * Allow for streams to work with either flash or RAM. * Image loading. * Font loading. * QGF palette loading. * Progressive decoder of pixel data supporting Raw+RLE, 1-,2-,4-,8-bpp monochrome and palette-based images. * Image drawing. * Animations. * Font rendering. * Check against 256 colours, dump out the loaded palette if debugging enabled. * Fix build. * AVR is not the intended audience. * `qmk format-c` * Generation fix. * First batch of docs. * More docs and examples. * Review comments. * Public API documentation.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-09
|\|
| * [Bug] Fix matrix scan reporting interval (#16825)Simon Arlott2022-04-09
| |
* | Joystick feature updates (#16732)Ryan2022-03-26
| | | | | | | | | | | | | | * Joystick feature updates * Move new functions to joystick.h * Docs
* | [Core] Add compile/make macro to core (#15959)Drashna Jaelre2022-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Core] Add KC_MAKE keycode to core fix linting fix testing error work around test idiocyncracies fix more lint something something stupid tests add doc * updates based on feedback * Add bad names * Fixup docs * semantics but cleaner Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Hide oneshot checks behind preprocessors * Move no-compile option around * Fix formatting * make shift optional * Make opt in * fix formatting * update send string function name Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com>
* | Rename TICK to TICK_EVENT to prevent naming conflicts (#16649)Stefan Kerkmann2022-03-14
| |
* | Mousekeys fix (#16640)jack2022-03-13
| |
* | Fix oneshot toggle logic (#16630)Drashna Jaelre2022-03-14
| | | | | | | | | | | | | | * Fix oneshot toggle logic * Enable oneshots by default * Decrement eeconfig magic number due to eeconfig changes
* | [Core] Move `has_mouse_report_changed` function to `report.c` (#16543)Drashna Jaelre2022-03-14
| | | | | | | | | | | | | | * Move 'has_mouse_report_changed' checkto report.c * change mousekeys to use memcpy * fix linting issues
* | Fix flipped One Shot logic (#16617)Pascal Getreuer2022-03-11
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-03-10
|\|