summaryrefslogtreecommitdiff
path: root/quantum
AgeCommit message (Collapse)Author
2021-12-27pwm3360 driver cleanup and diff reduction to adns9800 (#15559)uqs
* Diff reduction between ADNS9800 and PMW3360 drivers. They are very similar devices. This (somewhat) unreadable diff is essentially a no-op, but it makes a `vimdiff` between the 2 drivers much more readable. * Cleanup pwm3360 driver some more. Remove redundant calls to spi_start() and spi_stop(), as pmw3360_write() will already call these.
2021-12-27Custom matrix lite support for split keyboards (#14674)Jay Greco
* Custom matrix lite support for split keyboards * WIP: matrix -> matrix_common refactor * Move matrix_post_scan() to matrix_common.c
2021-12-27Format code according to conventions (#15590)QMK Bot
2021-12-27Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-27fix RGB_DISABLE_TIMEOUT flicker on split keyboards (#14954)Erik Berthold
2021-12-27Add sym_defer_pr debouncer type (#14948)Chad Austin
2021-12-27Make (un)register code functions weak (#15285)Drashna Jaelre
2021-12-27Format code according to conventions (#15588)QMK Bot
2021-12-27[Core] Split support for pointing devices. (#15304)Dasky
* 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>
2021-12-27Fixes potential wpm sampling overflow, along with code comment fixes (#15277)vectorstorm
Co-authored-by: Trevor Powell <trevor@vectorstorm.com.au>
2021-12-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-24Save a single byte of memory for joystick buttons (#15555)Chris Broekema
Co-authored-by: Joel Challis <git@zvecr.com>
2021-12-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-16Fix inverted gt and lt send_string mapping in canadian multilingual (#15487)billybraga
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Billy Braga <bbraga@progi.com>
2021-12-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-16Fix some wrong keycode macros in locale mapping files (#15488)Yoichiro Tanaka
2021-12-15Migrate serial_uart usages to UART driver (#15479)Ryan
* 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
2021-12-14[Core] Don't send keyboard reports that propagate no changes to the host ↵Stefan Kerkmann
(#14065)
2021-12-11added missing audio_off_user() callback (#15457)Dipl.-Ing. Raoul Rubien, BSc
Co-authored-by: Raoul Rubien <raoul.rubienr@gmail.com>
2021-12-06Add missing define for unicode common (#15416)Drashna Jaelre
2021-12-06Generalize Unicode defines (#15409)Drashna Jaelre
2021-11-30Implement MAGIC_TOGGLE_CONTROL_CAPSLOCK (#15368)Joel Challis
2021-11-29[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)Stefan Kerkmann
2021-11-29Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-29Fix bit loss in cie_lightness() when doing division to resolve #15331 (#15344)Karl Shea
* Fix bit loss in cie_lightness() when doing division. * Use the right types * Format Co-authored-by: zvecr <git@zvecr.com>
2021-11-29Added cancel_key_lock function (#15321)wheredoesyourmindgo
2021-11-28Fix HOLD_ON_OTHER_KEY_PRESS after #11059 (#15307)Stefan Kerkmann
that broke compilation because of a typo: KEYPRESS should have been KEY_PRESS
2021-11-27Re-add encoder tests (#15312)Drashna Jaelre
Co-authored-by: Balz Guenat <balz.guenat@gmail.com>
2021-11-27[Bug] Revert Assymmetrical Split Encoder support (#12090) (#15311)Drashna Jaelre
* 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.
2021-11-26New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)precondition
* 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
2021-11-25Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) and Custom Auto ↵Isaac Elenbaas
Shifts (#11059) * Add Retro Shift and Custom Auto Shifts * Fix compilation errors with no RETRO_SHIFT value
2021-11-23Revert "[Tests] Increase QMK test coverage (#13789)"Nick Brassel
This reverts commit b6054c0206609f3755f71d819643644d250288b0.
2021-11-23[Tests] Increase QMK test coverage (#13789)Stefan Kerkmann
* 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>
2021-11-23Add uint to char functions (#15244)Drashna Jaelre
* 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>
2021-11-22Macros in JSON keymaps (#14374)Zach White
* 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>
2021-11-20fix broken macro in transport.h (#15239)Balz Guenat
2021-11-20Rework encoders to enable asymmetric split keyboards (#12090)Balz Guenat
Co-authored-by: Balz Guenat <balz.guenat@siemens.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-19Move tmk_core/common/<plat> (#13918)Joel Challis
2021-11-19[Bug] Revert backlight pins on function call (#15205)Drashna Jaelre
2021-11-18[Bug] Fix missing variable for Backlight Breathing (#15199)Drashna Jaelre
* [Bug] Fix missing varaible for Backlight Breathing * Better fix * formatting
2021-11-18Format code according to conventions (#15196)QMK Bot
2021-11-18Made AVR backlight pwm resolution configurable (#7521)Mikkel Jeppesen
* 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
2021-11-17Format code according to conventions (#15195)QMK Bot
2021-11-16Rename RGB fractal (#15174)Albert Y
Co-authored-by: filterpaper <filterpaper@localhost>
2021-11-15Require explicit enabling of RGB Matrix modes (#15018)Drashna Jaelre
2021-11-16Reimplements WPM feature to be smaller & precise (#13902)vectorstorm
* 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>
2021-11-15Add support for deferred executors. (#14859)Nick Brassel
* 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>
2021-11-16Add needed include to pointing_device.c (#15167)Drashna Jaelre
2021-11-14Rework and expand Pointing Device support (#14343)Drashna Jaelre
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2021-11-13Merge remote-tracking branch 'origin/master' into developDrashna Jael're