summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Format code according to conventions (#15588)QMK Bot2021-12-271-2/+2
|
* [Core] Split support for pointing devices. (#15304)Dasky2021-12-276-46/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Draft implementation * formatting * fix combined buttons * remove pimoroni throttle * sync pointing on a throttle loop with checksum * no longer used * doh Co-authored-by: Drashna Jaelre <drashna@live.com> * switch pimoroni to a cpi equivalent * add cpi support * allow user modification of seperate mouse reports * a little tidy up * add *_RIGHT defines. * docs * doxygen comments * basic changelog * clean up pimoroni * small doc fixes * Update docs/feature_pointing_device.md Co-authored-by: Drashna Jaelre <drashna@live.com> * performance tweak if side has usb * Don't run init funtions on wrong side * renamed some variables for consistency * fix pimoroni typos * Clamp instead of OR * Promote combined values to uint16_t * Update pointing_device.c Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Fixes potential wpm sampling overflow, along with code comment fixes (#15277)vectorstorm2021-12-272-33/+44
| | | Co-authored-by: Trevor Powell <trevor@vectorstorm.com.au>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-12-241-1/+1
|\
| * Save a single byte of memory for joystick buttons (#15555)Chris Broekema2021-12-241-1/+1
| | | | | | Co-authored-by: Joel Challis <git@zvecr.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-12-161-1/+1
|\|
| * Fix inverted gt and lt send_string mapping in canadian multilingual (#15487)billybraga2021-12-161-1/+1
| | | | | | | | Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Billy Braga <bbraga@progi.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-12-164-6/+6
|\|
| * Fix some wrong keycode macros in locale mapping files (#15488)Yoichiro Tanaka2021-12-164-6/+6
| |
* | Migrate serial_uart usages to UART driver (#15479)Ryan2021-12-152-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate Thermal Printer feature to UART driver * Migrate 40percentclub UT47 to UART driver * Migrate Centromere to UART driver * Migrate Chimera Ergo to UART driver * Migrate Chimera Let's Split to UART driver * Migrate Chimera Ortho to UART driver * Migrate Chimera Ortho Plus to UART driver * Migrate Comet46 to UART driver * Migrate Palm USB converter to UART driver * Migrate Sun USB converter to UART driver * Migrate Dichotomy to UART driver * Migrate Honeycomb to UART driver * Migrate Mitosis to UART driver * Migrate Redox W to UART driver * Migrate Uni660 to UART driver * Migrate Telophase to UART driver
* | [Core] Don't send keyboard reports that propagate no changes to the host ↵Stefan Kerkmann2021-12-141-1/+8
| | | | | | | | (#14065)
* | added missing audio_off_user() callback (#15457)Dipl.-Ing. Raoul Rubien, BSc2021-12-113-0/+5
| | | | | | Co-authored-by: Raoul Rubien <raoul.rubienr@gmail.com>
* | 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>