summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 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-172-1/+93
|\|
| * Add syscall fallbacks to ChibiOS builds (#11573)Nick Brassel2021-01-182-1/+93
| | | | | | | | | | * Add fallback syscalls to ChibiOS builds that are present but able to be overridden as appropriate. * Modified location to be ChibiOS-specific.
* | Merge remote-tracking branch 'upstream/master' into developfauxpark2021-01-154-33/+27
|\|
| * Adafruit BLE cleanups (#11556)Ryan2021-01-153-32/+26
| |
| * arm_atsam: temporarily lower raw HID endpoint/report size (#11554)Ryan2021-01-151-1/+1
| |
* | Revert "Keep track of last matrix activity (#10730)"Nick Brassel2021-01-152-10/+6
| | | | | | | | This reverts commit 79d1db332477963555416d9fff82ecac4399bd52.
* | fix matrix_io_delay() timing in quantum/matrix.c (#9603)Takeshi ISHII2021-01-132-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix matrix_io_delay() timing in quantum/matrix.c * Updated comments explaining the need for matrix_io_delay() in quantum/matrix.c * fix matrix_io_delay() timing in quantum/split_common/matrix.c * Update quantum/matrix.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update quantum/split_common/matrix.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update quantum/matrix.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update quantum/split_common/matrix.c Co-authored-by: Ryan <fauxpark@gmail.com> * add waitOutputPinValid() and wait_cpuclock() into quantum/quantum.h and tmk_core/common/wait.h * add matrix_output_select_delay() and matrix_output_unselect_delay() * fix quantum/matrix_common.c, tmk_core/common/matrix.h * fix tmk_core/common/wait.h * fix quantum/quantum.h, tmk_core/common/wait.h * waitOutputPinValid() rename to waitInputPinDelay() in quantum/quantum.h. * waitOutputPinValid() rename to waitInputPinDelay() in quantum/matrix_common.c * update tmk_core/common/wait.h * update comment in quantum/matrix.c, quantum/split_common/matrix.c * update quantum/quantum.h: Make more margin in the GPIO_INPUT_PIN_DELAY default value. Co-authored-by: Ryan <fauxpark@gmail.com>
* | Keep track of last matrix activity (#10730)Nick Brassel2021-01-122-6/+10
| | | | | | | | | | | | | | * Allow recording of the last matrix activity time, to simplify implementation of display timeouts and the like. * Add requested changes from code review. * Simplify split matrix last changed.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-01-113-46/+104
|\|
| * Add support for shared EP on V-USB boards (#11103)Ryan2021-01-113-46/+104
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-01-112-28/+4
|\|