summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Add missing define for unicode common (#15416)Drashna Jaelre2021-12-061-0/+4
|
* Generalize Unicode defines (#15409)Drashna Jaelre2021-12-061-2/+2
|
* Implement MAGIC_TOGGLE_CONTROL_CAPSLOCK (#15368)Joel Challis2021-11-302-0/+7
|
* [Core] Remove matrix_is_modified() and debounce_is_active() (#15349)Stefan Kerkmann2021-11-299-18/+0
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-11-291-4/+4
|\
| * Fix bit loss in cie_lightness() when doing division to resolve #15331 (#15344)Karl Shea2021-11-291-4/+4
| | | | | | | | | | | | | | | | | | * Fix bit loss in cie_lightness() when doing division. * Use the right types * Format Co-authored-by: zvecr <git@zvecr.com>
* | Added cancel_key_lock function (#15321)wheredoesyourmindgo2021-11-292-0/+6
|/
* Fix HOLD_ON_OTHER_KEY_PRESS after #11059 (#15307)Stefan Kerkmann2021-11-281-4/+4
| | | | that broke compilation because of a typo: KEYPRESS should have been KEY_PRESS
* Re-add encoder tests (#15312)Drashna Jaelre2021-11-278-0/+461
| | | Co-authored-by: Balz Guenat <balz.guenat@gmail.com>
* [Bug] Revert Assymmetrical Split Encoder support (#12090) (#15311)Drashna Jaelre2021-11-2711-560/+57
| | | | | | | | | * Revert "fix broken macro in transport.h (#15239)" This reverts commit 06f18e22d9aff0afa4dce101a6a1b2cae5511365. * Revert "Rework encoders to enable asymmetric split keyboards (#12090)" This reverts commit 32215d5bff52262542a2f8d2a221b0303f02c019.
* New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)precondition2021-11-267-3/+97
| | | | | | | | | * New feature: `DYNAMIC_TAPPING_TERM_ENABLE` 3 new quantum keys to configure the tapping term on the fly. * Replace sprintf call in tapping_term_report by get_u16_str * Replace tab with 4 spaces
* Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) and Custom Auto ↵Isaac Elenbaas2021-11-254-111/+455
| | | | | | | Shifts (#11059) * Add Retro Shift and Custom Auto Shifts * Fix compilation errors with no RETRO_SHIFT value
* Revert "[Tests] Increase QMK test coverage (#13789)"Nick Brassel2021-11-231-0/+34
| | | | This reverts commit b6054c0206609f3755f71d819643644d250288b0.
* [Tests] Increase QMK test coverage (#13789)Stefan Kerkmann2021-11-231-34/+0
| | | | | | | | | | | | | | | | | | | | | * Add per-test keymaps * Add better trace and info logs for failed unit-tests * Add layer state assertion with tracing message * Use individual test binaries configuration options * Add basic qmk functionality tests * Add tap hold configurations tests * Add auto shift tests * `qmk format-c * Fix tests Co-authored-by: Nick Brassel <nick@tzarc.org>
* Add uint to char functions (#15244)Drashna Jaelre2021-11-232-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | * Add uint to char functions * appease the all mighty lint * Further appease Lint * Update functions * Add doxygen comment * Update quantum/quantum.c Co-authored-by: Nick Brassel <nick@tzarc.org> * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * Add declaration for get_numeric_string * fix formatting and bug Co-authored-by: Nick Brassel <nick@tzarc.org>
* Macros in JSON keymaps (#14374)Zach White2021-11-221-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macros in json keymaps * add advanced macro support to json * add a note about escaping macro strings * add simple examples * format json * add support for language specific keymap extras * switch to dictionaries instead of inline text for macros * use SS_TAP on the innermost tap keycode * add the new macro format to the schema * document the macro limit * add the json keyword for syntax highlighting * fix format that vscode screwed up * Update feature_macros.md * add tests for macros * change ding to beep * add json support for SENDSTRING_BELL * update doc based on feedback from sigprof * document host_layout * remove unused var * improve carriage return handling * support tab characters as well * Update docs/feature_macros.md Co-authored-by: Nick Brassel <nick@tzarc.org> * escape backslash characters * format * flake8 * Update quantum/quantum_keycodes.h Co-authored-by: Nick Brassel <nick@tzarc.org>
* fix broken macro in transport.h (#15239)Balz Guenat2021-11-201-1/+2
|
* Rework encoders to enable asymmetric split keyboards (#12090)Balz Guenat2021-11-2011-57/+559
| | | | Co-authored-by: Balz Guenat <balz.guenat@siemens.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Move tmk_core/common/<plat> (#13918)Joel Challis2021-11-194-4/+4
|
* [Bug] Revert backlight pins on function call (#15205)Drashna Jaelre2021-11-191-1/+1
|
* [Bug] Fix missing variable for Backlight Breathing (#15199)Drashna Jaelre2021-11-181-6/+6
| | | | | | | * [Bug] Fix missing varaible for Backlight Breathing * Better fix * formatting
* Format code according to conventions (#15196)QMK Bot2021-11-181-29/+26
|
* Made AVR backlight pwm resolution configurable (#7521)Mikkel Jeppesen2021-11-181-41/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made static backlight pwm resolution configurable * Made breathing backlighting configurable too * Finished my ifdef * Ran clang-format * Added missing semi-colon * Solved weird behaviour by right-shifting the right amount * Made breathing period scaled on actual pwm frequency * Made the low end deadzone scaled on the top value * Moved 'pwm_frequency' declaration outside ifdef * Fixed 'never used' error * Fixed 'never used' error * Fixed breathing ISR to 120Hz * Removed pwm_frequency constant Constant is no longer needed since running the breathing ISR at a fixed 120Hz * Re-add brightness limiting * re-introduce scaling
* Format code according to conventions (#15195)QMK Bot2021-11-172-12/+16
|
* Rename RGB fractal (#15174)Albert Y2021-11-162-5/+5
| | | Co-authored-by: filterpaper <filterpaper@localhost>
* Require explicit enabling of RGB Matrix modes (#15018)Drashna Jaelre2021-11-1553-318/+81
|
* Reimplements WPM feature to be smaller & precise (#13902)vectorstorm2021-11-162-23/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reimplements WPM feature. - Now calculates exact WPM over the last up to three seconds of typing. - WPM_SMOOTHING removed, as it's no longer needed. - WPM_SAMPLE_SECONDS added, to specify how long a period to average WPM over, set to 5 seconds by default. - WPM_SAMPLE_PERIODS added, to specify how many sampling buffers we'll use. Each one uses one extra byte of space. Having more will lead to smoother decay of WPM values. Defaults to 50 (we're saving so many bytes of firmware space I felt like being extravagent, and this change is still a big size saving overall) - WPM_UNFILTERED option added (defaults to unset), which disables all filtering within the WPM feature. This saves some space in the firmware and also reduces latency between typing and the WPM calculation measuring it. (saves 70 bytes in my tests) - WPM_LAUNCH_CONTROL added (defaults to unset). When typing begins while the current displayed WPM value is zero, the WPM calculation only considers the time elapsed since typing began, not the whole WPM_SAMPLE_SECONDS buffer. The result of this is that the displayed WPM value much more rapidly reaches an accurate WPM value, even when results are being filtered. (costs 22 bytes in my tests) - Updates documentation to reflect changed options. Saves about 900 bytes, in my tests, compared against the previous implementation, with default settings. * Apply suggestions from code review Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Trevor Powell <trevor@vectorstorm.org> Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Add support for deferred executors. (#14859)Nick Brassel2021-11-154-0/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for deferred executors. * More docs. * Include from quantum.h * Cleanup. * Parameter checks * Comments. * qmk format-c * I accidentally a few words. * API name change. * Apply suggestions from code review Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Review comments. * qmk format-c * Review comments. Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Add needed include to pointing_device.c (#15167)Drashna Jaelre2021-11-161-0/+1
|
* Rework and expand Pointing Device support (#14343)Drashna Jaelre2021-11-145-33/+419
| | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* Merge remote-tracking branch 'origin/master' into developDrashna Jael're2021-11-131-0/+1
|\
| * add wait to unicode for win (#15061)Markus Fritsche2021-11-121-0/+1
| | | | | | Co-authored-by: Markus Fritsche <fritsche.markus@gmail.com>
* | Basic keycode overhaul (#14726)Ryan2021-11-0320-677/+730
| |
* | Remove deprecated KEYMAP alias (#15037)Joel Challis2021-11-031-3/+0
| | | | | | | | | | | | | | * Remove deprecated KEYMAP alias * Remove some KEYMAP references * Remove some KEYMAP references
* | Revert to old init order for host driver (#15029)Joel Challis2021-11-021-3/+12
| | | | | | * Partially revert 14888
* | Fixup LED matrix. (#15020)Nick Brassel2021-11-021-7/+7
| |
* | haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei2021-11-023-4/+77
| | | | | | | | | | | | | | (#12692) This also add support for specifying a LED pin to indicate haptic status, and also adds support for a haptic-enable pin, which is useful to turn off the boost converter on the solenoid driver.
* | Add Pixel Rain RGB Matrix effect (#14155)Albert Y2021-11-022-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Pixel animation header file * Add Pixel animation to documentation * Add Pixel animation to core include file * Remove unintended spaces * Remove seeding of PRNG * Increase frequency of lit keys Co-authored-by: filterpaper <filterpaper@localhost>
* | Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya12021-11-022-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a new led driver for Keychron's keyboards. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c * Add a new led driver * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Delete ckled2001.c * Create ckled2001.c * Update ckled2001.c * Update chibios-contrib Co-authored-by: keychron-dev <85598583+keychron-dev@users.noreply.github.com> Co-authored-by: lokher <lokher@gmail.com>
* | define to AUTO_SHIFT_DISABLED_AT_STARTUP (#14201)Woody2021-11-021-1/+7
| | | | | | Co-authored-by: agodinhost <agodinhost@globo.com>
* | Add support for ISSI drivers on both sides of a split keyboard (#13842)Vlad K2021-11-0228-57/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Gets RGB working on a split keyboard with IS31FL3733. Currently needs small tweak to re-enable WS2812 * Added helper function * Trying to integrate the function * Moved functionality into a macro * Swapped conditional for a macro everywhere * Tidying up * More code cleanup * Documentation updates * Fixed formatting via linter * Switching to a function from a macro * Fixed compile error * Fixing WS2812 behavior. UNTESTED. * Updated documentation about the driver addresses. * Fixed code for WS2812 * Trying to add in LED_MATRIX support * Updated effects for LED matrix * Updated third-party effect defines. * Ran format-c on modified files * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Move to static inline. Avoids issues with gcc v8+ * Move helper function for LED_matrix to static inline to avoid issues with gcc v8+ Co-authored-by: Vlad Kvitnevskiy <vladkvit@outlook.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Manually format develop (#15003)Joel Challis2021-11-0122-373/+464
| |
* | Add Fractal RGB matrix effects (#12670)Albert Y2021-11-022-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Squashed fractal effect commit for easier rebase * Update documentation * Squashed fractal effect commit for easier rebase * Update documentation * Update doc spacing Co-authored-by: Ryan <fauxpark@gmail.com> * Update feature_rgb_matrix.md Co-authored-by: filterpaper <filterpaper@localhost> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Fix issues with Oneshot disabling (#14934)Drashna Jaelre2021-11-012-65/+104
| |
* | Fix develop after recent changes (#14975)Joel Challis2021-10-281-0/+3
| | | | | | | | | | * Fix sleep led issues * Fix tests
* | Relocate protocol files within tmk_core/common/ (#14972)Joel Challis2021-10-287-90/+129
| | | | | | | | | | * Relocate non platform files within tmk_core/common/ * clang
* | Remove SERIAL_MOUSE (#14969)Joel Challis2021-10-281-10/+0
| |
* | Migrate makefile utilities to sub-directory (#14917)Joel Challis2021-10-281-668/+0
| |
* | Optimize matrix scanning by removing variable shifts (#14947)Chad Austin2021-10-261-10/+13
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-261-13/+12
|\|