summaryrefslogtreecommitdiffstats
path: root/tmk_core/common
Commit message (Collapse)AuthorAgeFilesLines
* Add a handful of consumer/gendesk page usages (#12811)Ryan2021-05-061-3/+20
|
* Fix for gcc10 teensy_lc eeprom build warning (#12587)Joel Challis2021-04-201-1/+1
|
* Format code according to conventions (#12380)github-actions[bot]2021-03-251-9/+8
| | | Co-authored-by: QMK Bot <hello@qmk.fm>
* fix permissive hold when both PERMISSIVE_HOLD_PER_KEY and ↵purple-rw2021-03-251-2/+10
| | | | | TAPPING_TERM_PER_KEY are defined (#12125) Co-authored-by: checyr <32964049+checyr@users.noreply.github.com>
* Fix USER_PRINT on avr/atsam (#12269)Joel Challis2021-03-252-8/+8
| | | | | | | | | * Fix USER_PRINT on avr/atsam * Update tmk_core/common/arm_atsam/_print.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Format code according to conventions (#12244)github-actions[bot]2021-03-151-1/+1
| | | Co-authored-by: QMK Bot <hello@qmk.fm>
* 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>
* Set default for USB_SUSPEND_WAKEUP_DELAY to 0/disabled (#12081)Drashna Jaelre2021-03-021-1/+1
|
* 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
|\|
| * Add syscall fallbacks to ChibiOS builds (#11573)Nick Brassel2021-01-181-0/+91
| | | | | | | | | | * Add fallback syscalls to ChibiOS builds that are present but able to be overridden as appropriate. * Modified location to be ChibiOS-specific.
* | 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-111-6/+0
|\|
| * Add support for shared EP on V-USB boards (#11103)Ryan2021-01-111-6/+0
| |