summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-281-0/+5
|\
| * Modified tmk_core/rules.mk to avoid linking errors (#10728)Fabián González Martín2021-02-281-0/+5
| | | | | | | | | | | | | | * Modified tmk_core/rules.mk to avoid linking errors Added -fcommon flag to avoid linking errors due to multiple variable definitions. Though this is neither a definitive nor good solution, proper changes and use of extern keyword to avoid those multiple definitions must be made * Comment updated
* | Refactor of USB code within split_common (#11890)Joel Challis2021-02-2810-0/+136
| | | | | | | | | | | | | | | | | | | | | | * Initial refactor of usb code within split_common * Add headers * Correct disable condition * Format * Align func name
* | ARM - Refactor SLEEP_LED to support more platforms (#8403)Joel Challis2021-02-281-55/+33
| | | | | | | | | | | | | | | | | | | | | | * Initial refactor of ARM SLEEP_LED to enable more platforms * fix build issues * Disable SLEEP_LED for boards with no caps lock code * Enable GPT14 for boards with caps lock code and SLEEP_LED enabled * Enable GPT for boards with caps lock code and SLEEP_LED enabled
* | Overhaul bootmagic logic to have single entrypoint (#8532)Joel Challis2021-02-288-388/+4
|/ | | | | * Relocate bootmagic logic to have single entrypoint * Align init of layer state
* Fixes #4072, #6214. Revision of #156 to clear before AS/TD. (#9941)Isaac Elenbaas2021-02-281-5/+5
|
* Format code according to conventions (#12046)github-actions[bot]2021-02-271-2/+2
| | | Co-authored-by: QMK Bot <hello@qmk.fm>
* Fix build for attiny85-based boards. (#12044)Nick Brassel2021-02-281-0/+2
|
* Format code according to conventions (#12024)github-actions[bot]2021-02-262-42/+42
| | | Co-authored-by: QMK Bot <hello@qmk.fm>
* [BUG] Massdrop develop rgb fix (#12022)Nick Brassel2021-02-263-8/+9
| | | | | | | * Allow for disabling RGB_MATRIX on Massdrop boards. * Fixup init sequence. * Make some functions static as they've got very generic names.
* Merge remote-tracking branch 'upstream/master' into developfauxpark2021-02-255-70/+106
|\
| * V-USB suspend refactor (#11891)Ryan2021-02-255-72/+107
| |
* | tmk_core/common/action.c: refactor for code size; merge multiple `case`s ↵Liyang HU2021-02-202-72/+21
| | | | | | | | | | | | | | | | | | | | | | into one (#11943) * tmk_core/common/report.h: define `enum mouse_buttons` in terms of `#define MOUSE_BTN_MASK()` * tmk_core/common/action.c: collapse multiple `case KC_MS_BTN[1-8]:` into single `MOUSE_BTN_MASK(action.key.code - KC_MS_BTN1)` We all love tapping on our keyboards but this is taking the piss. This saves ~134 bytes on my ATmega32.
* | Output selection: Remove "USB and BT" option (#11940)Ryan2021-02-202-30/+5
| |
* | Format code according to conventions (#11936)github-actions[bot]2021-02-171-3/+1
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Fix compilation error for `tap_code_delay()` (#11938)Ryan2021-02-171-1/+3
| |
* | Add `tap_code_delay(code, delay)` (#11913)Ryan2021-02-172-8/+14
| | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* | Format code according to conventions (#11928)github-actions[bot]2021-02-161-1/+1
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Split transport mirror (#11046)XScorpion22021-02-162-20/+44
| | | | | | | | | | | | | | * Split transport mirror support * Updated RGB Matrix to respond to electrical events instead of key events * split matrix slave fix
* | Merge branch 'master' into developJoshua Diamond2021-02-149-0/+574
|\|
| * Split gpio and atomic to platform (#11792)Joel Challis2021-02-149-0/+574
| |
* | Format code according to conventions (#11905)github-actions[bot]2021-02-153-6/+5
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Refactor platform logic within print.h (#11863)Joel Challis2021-02-1417-280/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove GCC check from debug * Remove platform logic from common.mk * Refactor platform logic within print.h * restore debug.c format * headers * Rename function pointer type * review comments * Update tmk_core/common/printf.c Co-authored-by: Nick Brassel <nick@tzarc.org> * Format Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Remove FAUXCLICKY feature (deprecated) (#11829)Drashna Jaelre2021-02-092-20/+0
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-079-1304/+1
|\|
| * Migrate some tmk_core files to quantum (#11791)Joel Challis2021-02-079-1301/+1
| | | | | | | | | | * Migrate some tmk_core files to quantum * Fix build errors
* | [Bug] Fix media key missing upstroke event (#11162)Alexander Ulitin2021-02-071-4/+4
| | | | | | | | [Bug] Pressing media key on a momentarily activated layer may leads to missing key up events.
* | Migrate mousekey to quantum (#11804)Joel Challis2021-02-073-671/+0
| |
* | Remove legacy print backward compatiblitly (#11805)Joel Challis2021-02-065-22/+12
| | | | | | | | | | | | | | * Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-061-4/+4
|\|
| * Manual formatting fix for serial_uart.c (#11806)Ryan2021-02-061-4/+4
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-052-1/+26
|\|
| * Serial refactor (#11521)Ryan2021-02-062-1/+26
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-051-7/+5
|\|
| * Manually run formatting job (#11797)Joel Challis2021-02-051-7/+5
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-031-1/+1
|\|
| * Fix DEBUG_MATRIX_SCAN_RATE on chibiOS when console is enabled (#11776)Drashna Jaelre2021-02-031-1/+1
| | | | | | | | | | | | | | | | | | * Fix DEBUG_MATRIX_SCAN_RATE on chibiOS when console is enabled * update type in dprintf Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Address wake from sleep instability (#11450)Joshua Diamond2021-02-024-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolve race condition between suspend and wake in LUFA * avoid multiple calls to suspend_power_down() / suspend_wakeup_init() * Remove duplicate suspend_power_down_kb() call * pause on wakeup to wait for USB state to settle * need the repeated suspend_power_down() (that's where the sleep is) * more efficient implementation * fine tune the pause after sending wakeup * speculative chibios version of pause-after-wake * make wakeup delay configurable, and adjust value * better location for wakeup delay
* | Stop sounds when suspended (#11553)Joshua Diamond2021-02-012-2/+9
| | | | | | | | | | | | | | * fix stopping audio on suspend vs. startup sound * trim firmware size * fix stuck audio on startup (ARM)
* | Decouple USB events from the USB interrupt handler. (#10437)Nick Brassel2021-02-013-9/+80
| |
* | Merge remote-tracking branch 'upstream/master' into developNick Brassel2021-01-282-2/+11
|\|
| * add get_matrix_scan_rate() to tmk_core/common/keyboard.c (#11489)Takeshi ISHII2021-01-282-2/+11
| |
* | Add support for 8 buttons to mouse report (#10807)Drashna Jaelre2021-01-286-60/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for 8 buttons to mouse report This includes support for 8 buttons in mousekeys. However, this does move the keys around due to the fact that the last mousekey keycode is already 0xFF, so any past that would not work with register_code and the like, breaking them for tap hold keys, encoders, and other features. * Update mouse key docs * Add changes based on feedback * Fix VUSB report size comment Because drashna red gud * Fix typo in action.c * Fix IS_MOUSE_BUTTON check * Change start range for mousekeys so that the end is 0xFF properly * condense mousekeys check
* | UART driver refactor (#11637)Ryan2021-01-272-180/+0
| |
* | Remove duplicated housekeeping in arm_atsam (#11672)Gentoli2021-01-241-3/+0
| |
* | Keep track of encoder activity (#11595)Nick Brassel2021-01-212-3/+27
| | | | | | | | | | * Keep track of encoder activity, provide API for either matrix/encoder. * Fixup build when no RGBLIGHT or Backlight enabled.
* | Switch to nano specs on ChibiOS builds - Round 2 (#11607)Joel Challis2021-01-201-0/+1
| |
* | Merge remote-tracking branch 'upstream/master' into developNick Brassel2021-01-201-36/+49
|\|
| * Fixup declaration for _kill, add other missing syscalls, populate errno. ↵Nick Brassel2021-01-191-36/+49
| | | | | | | | (#11608)
* | `qmk cformat`Nick Brassel2021-01-174-92/+115
| |