summaryrefslogtreecommitdiffstats
path: root/tmk_core/common
Commit message (Collapse)AuthorAgeFilesLines
* core: add support for MK66F18 (Teensy 3.6) micro controller (#12258)Michael Stapelberg2021-03-172-1/+5
| | | This is in preparation for https://github.com/qmk/qmk_firmware/pull/10171
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-151-1/+1
|\
| * Format code according to conventions (#12244)github-actions[bot]2021-03-151-1/+1
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-151-0/+10
|\|
| * Fix keycode mappings for via and ensure they don't change within protocol ↵xyzz2021-03-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12130) * Fix keycode mappings for via and ensure they don't change within protocol * Update keycodes * Fix broken keyboards * added the missing keycodes found in via * Remove invalid keycodes Co-authored-by: David Hoelscher <infinityis@users.noreply.github.com>
* | Move gpio wait logic to wait.h (#12067)Joel Challis2021-03-107-108/+235
| |
* | LED Matrix: decouple from Backlight (#12054)Ryan2021-03-081-0/+5
| |
* | Split RGB Matrix (#11055)XScorpion22021-03-034-5/+18
| | | | | | | | | | * Split RGB Matrix * Suspend State sync for rgb matrix
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-021-1/+1
|\|
| * Set default for USB_SUSPEND_WAKEUP_DELAY to 0/disabled (#12081)Drashna Jaelre2021-03-021-1/+1
| |
* | Add ability to toggle One Shot functionality (#4198)Drashna Jaelre2021-03-012-9/+54
| | | | | | | | Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Refactor of USB code within split_common (#11890)Joel Challis2021-02-283-0/+53
| | | | | | | | | | | | | | | | | | | | | | * 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-286-366/+0
|/ | | | | * 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
|
* [BUG] Massdrop develop rgb fix (#12022)Nick Brassel2021-02-261-3/+0
| | | | | | | * 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-253-53/+66
|\
| * V-USB suspend refactor (#11891)Ryan2021-02-253-55/+67
| |
* | 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.
* | 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-151-4/+4
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Refactor platform logic within print.h (#11863)Joel Challis2021-02-1413-252/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-076-1252/+0
|\|
| * Migrate some tmk_core files to quantum (#11791)Joel Challis2021-02-076-1249/+0
| | | | | | | | | | * 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-072-667/+0
| |
* | Remove legacy print backward compatiblitly (#11805)Joel Challis2021-02-063-17/+7
| | | | | | | | | | | | | | * Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
* | 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-022-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* | 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-284-45/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| |
* | 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.
* | 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
| |
* | Keep track of last matrix activity. (#11552)Nick Brassel2021-01-182-6/+10
| | | | | | | | | | Co-authored-by: Dasky <daskygit@users.noreply.github.com> Co-authored-by: Dasky <daskygit@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-01-171-0/+91
|\|