992 Commits (1ea01765e19bf84b9a09954443b7d64be2bec0c7)

Author SHA1 Message Date
purple-rw 5c1442766c
fix permissive hold when both PERMISSIVE_HOLD_PER_KEY and TAPPING_TERM_PER_KEY are defined (#12125)
Co-authored-by: checyr <32964049+checyr@users.noreply.github.com>
5 years ago
QMK Bot 8086837f69 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Challis 1bb6d8de6f
Fix USER_PRINT on avr/atsam (#12269)
* 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>
5 years ago
QMK Bot 2f6236d1ea Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan eae7343741
Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302) 5 years ago
QMK Bot af5c10ef0c Merge remote-tracking branch 'origin/master' into develop 5 years ago
github-actions[bot] 9807225f90
[CI] Format code according to conventions (#12277)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
QMK Bot 4aa57e9e46 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan 9331c22620
XT converter cleanup (#12264) 5 years ago
Michael Stapelberg 1d341ffbb0
core: add support for MK66F18 (Teensy 3.6) micro controller (#12258)
This is in preparation for https://github.com/qmk/qmk_firmware/pull/10171
5 years ago
QMK Bot 2f59e1c1d9 Merge remote-tracking branch 'origin/master' into develop 5 years ago
github-actions[bot] a18e1305b3
Format code according to conventions (#12244)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
QMK Bot 998c58e89b Merge remote-tracking branch 'origin/master' into develop 5 years ago
xyzz 0779c34db8
Fix keycode mappings for via and ensure they don't change within protocol (#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>
5 years ago
Joel Challis 40c7ecfdea
Move gpio wait logic to wait.h (#12067) 5 years ago
Ryan 9155b59e1a
LED Matrix: decouple from Backlight (#12054) 5 years ago
QMK Bot 37d1fa53e0 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan 8556068534
Require `BOOTLOADER = qmk-dfu` for `:bootloader` target (#12136) 5 years ago
XScorpion2 cde2859a65
Split RGB Matrix (#11055)
* Split RGB Matrix

* Suspend State sync for rgb matrix
5 years ago
QMK Bot 4c04c848b5 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Drashna Jaelre ab3986a684
Set default for USB_SUSPEND_WAKEUP_DELAY to 0/disabled (#12081) 5 years ago
Drashna Jaelre 0e984b6e7e
Add ability to toggle One Shot functionality (#4198)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
QMK Bot 93a1d4f156 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Challis f8266a228c
Migrate make_dfu_header to CLI (#12061)
* Migrate make_dfu_header to CLI

* lint fixes

* Update lib/python/qmk/cli/generate/dfu_header.py

Co-authored-by: Ryan <fauxpark@gmail.com>

* Rename object

Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
QMK Bot 3b8ca5f343 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Fabián González Martín 90c7ae70c6
Modified tmk_core/rules.mk to avoid linking errors (#10728)
* 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
5 years ago
Joel Challis 5ba4391cf2
Refactor of USB code within split_common (#11890)
* Initial refactor of usb code within split_common

* Add headers

* Correct disable condition

* Format

* Align func name
5 years ago
Joel Challis 415a8bc249
ARM - Refactor SLEEP_LED to support more platforms (#8403)
* 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
5 years ago
Joel Challis a3cbc8a004
Overhaul bootmagic logic to have single entrypoint (#8532)
* Relocate bootmagic logic to have single entrypoint

* Align init of layer state
5 years ago
Isaac Elenbaas 765d8a33dd
Fixes #4072, #6214. Revision of #156 to clear before AS/TD. (#9941) 5 years ago
github-actions[bot] deaabff752
Format code according to conventions (#12046)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
Nick Brassel 6623744172
Fix build for attiny85-based boards. (#12044) 5 years ago
github-actions[bot] d99e330548
Format code according to conventions (#12024)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
Nick Brassel abe189377c
[BUG] Massdrop develop rgb fix (#12022)
* Allow for disabling RGB_MATRIX on Massdrop boards.

* Fixup init sequence.

* Make some functions static as they've got very generic names.
5 years ago
fauxpark 23fd1aee00 Merge remote-tracking branch 'upstream/master' into develop 5 years ago
Ryan 39694d5eb0
V-USB suspend refactor (#11891) 5 years ago
Liyang HU c4bd6af837
tmk_core/common/action.c: refactor for code size; merge multiple `case`s 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.
5 years ago
Ryan 7ab9f6a101
Output selection: Remove "USB and BT" option (#11940) 5 years ago
github-actions[bot] a5f63dbf93
Format code according to conventions (#11936)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
Ryan be70f466fe
Fix compilation error for `tap_code_delay()` (#11938) 5 years ago
Ryan 3345ce2686
Add `tap_code_delay(code, delay)` (#11913)
Co-authored-by: Drashna Jaelre <drashna@live.com>
5 years ago
github-actions[bot] b0e161e33d
Format code according to conventions (#11928)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
XScorpion2 d1806a26e4
Split transport mirror (#11046)
* Split transport mirror support

* Updated RGB Matrix to respond to electrical events instead of key events

* split matrix slave fix
5 years ago
Joshua Diamond f1a3ce49cc Merge branch 'master' into develop 5 years ago
github-actions[bot] c27a778281
Format code according to conventions (#11905)
Co-authored-by: QMK Bot <hello@qmk.fm>
5 years ago
Joel Challis 1f2fe2eab9
Refactor platform logic within print.h (#11863)
* 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>
5 years ago
Joel Challis de8caf708c
Split gpio and atomic to platform (#11792) 5 years ago
Drashna Jaelre 7161d65070
Remove FAUXCLICKY feature (deprecated) (#11829) 5 years ago
QMK Bot 3a98bd75c8 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Challis 99bffc2a21
Migrate some tmk_core files to quantum (#11791)
* Migrate some tmk_core files to quantum

* Fix build errors
5 years ago
Alexander Ulitin 9146d30f06
[Bug] Fix media key missing upstroke event (#11162)
[Bug] Pressing media key on a momentarily activated layer may leads to
missing key up events.
5 years ago
Joel Challis 0288142769
Migrate mousekey to quantum (#11804) 5 years ago
Joel Challis f5a38b95c1
Remove legacy print backward compatiblitly (#11805)
* Remove legacy print backward compatiblitly

* Remove legacy print backward compatiblitly - core

* revert comment changes
5 years ago
QMK Bot a1ddba6bc4 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan 9b874d5071
Manual formatting fix for serial_uart.c (#11806) 5 years ago
QMK Bot 843643aef3 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan 5ea92a9c1c
Serial refactor (#11521) 5 years ago
QMK Bot b4e02f8ddf Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Challis b2d0e8a491
Manually run formatting job (#11797) 5 years ago
QMK Bot 00b9ec088d Merge remote-tracking branch 'origin/master' into develop 5 years ago
Drashna Jaelre c0de49e393
Fix DEBUG_MATRIX_SCAN_RATE on chibiOS when console is enabled (#11776)
* 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>
5 years ago
Joshua Diamond 9a4618b05b
Address wake from sleep instability (#11450)
* 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
5 years ago
Joshua Diamond ae4ee7553a
Stop sounds when suspended (#11553)
* fix stopping audio on suspend vs. startup sound

* trim firmware size

* fix stuck audio on startup (ARM)
5 years ago
Nick Brassel db11a2a1fd
Decouple USB events from the USB interrupt handler. (#10437) 5 years ago
Nick Brassel d65db68f9f Merge remote-tracking branch 'upstream/master' into develop 5 years ago
Drashna Jaelre 99f3df2893
Add support for 8 buttons to mouse report (#10807)
* 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
5 years ago
Takeshi ISHII c27f16158d
add get_matrix_scan_rate() to tmk_core/common/keyboard.c (#11489) 5 years ago
Ryan 30b46fad57
UART driver refactor (#11637) 5 years ago
Gentoli 28b1c913b4
Remove duplicated housekeeping in arm_atsam (#11672) 5 years ago
Nick Brassel 1108210f1b
Keep track of encoder activity (#11595)
* Keep track of encoder activity, provide API for either matrix/encoder.

* Fixup build when no RGBLIGHT or Backlight enabled.
5 years ago
Joel Challis 14c2f671cb
Switch to nano specs on ChibiOS builds - Round 2 (#11607) 5 years ago
Nick Brassel 9e18f41fcf Merge remote-tracking branch 'upstream/master' into develop 5 years ago
Nick Brassel 49dcc824db
Fixup declaration for _kill, add other missing syscalls, populate errno. (#11608) 5 years ago
Nick Brassel 31c57aab35 `qmk cformat` 5 years ago
Nick Brassel e702c7f1b4
Keep track of last matrix activity. (#11552)
Co-authored-by: Dasky <daskygit@users.noreply.github.com>

Co-authored-by: Dasky <daskygit@users.noreply.github.com>
5 years ago
QMK Bot d6d15b91f3 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Nick Brassel e524e0a397
Add syscall fallbacks to ChibiOS builds (#11573)
* Add fallback syscalls to ChibiOS builds that are present but able to be overridden as appropriate.

* Modified location to be ChibiOS-specific.
5 years ago
fauxpark ca7da3866d Merge remote-tracking branch 'upstream/master' into develop 5 years ago
Ryan 84e2f1ec17
Adafruit BLE cleanups (#11556) 5 years ago
Ryan f519a9908e
arm_atsam: temporarily lower raw HID endpoint/report size (#11554) 5 years ago
Nick Brassel ab375d3d07 Revert "Keep track of last matrix activity (#10730)"
This reverts commit 79d1db3324.
5 years ago
Takeshi ISHII 302b35c2a0
fix matrix_io_delay() timing in quantum/matrix.c (#9603)
* 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>
5 years ago
Nick Brassel 79d1db3324
Keep track of last matrix activity (#10730)
* 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.
5 years ago
QMK Bot 3bc436988d Merge remote-tracking branch 'origin/master' into develop 5 years ago
Ryan aa0e33eca0
Add support for shared EP on V-USB boards (#11103) 5 years ago
QMK Bot 6f9db2b48e Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joshua Diamond 4d96b85b6f
Lighting Layers should be disabled when suspended (#11442)
* Lighting Layers should be disabled when suspended

* bugfixes
5 years ago
QMK Bot c8320726bd Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Challis d58d7dd192
manually run formatting job (#11503) 5 years ago
QMK Bot 621d54f662 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Takeshi ISHII 3edfb93d5d
Add build debug option to tmk_core/rules.mk (#11324)
* Add DUMP_C_MACROS to tmk_core/rules.mk

* update DUMP_C_MACROS

* add VERBOSE_LD_CMD, VERBOSE_AS_CMD

* add VERBOSE_C_CMD, VERBOSE_C_INCLUDE

* update DUMP_C_MACROS, VERBOSE_C_INCLUDE, VERBOSE_C_CMD
5 years ago
Dasky e7db582e35
Set avr's bootloader_jump function to be weak (#11418)
Co-authored-by: Dasky <dasky@nowhere>
5 years ago
QMK Bot d0aa9ff972 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Drashna Jaelre 810eafad12
Fix Tap-Hold Configs (#11127)
* Add proper prototypes for Tap-Hold Per Key functions

* Fix handwired/tennie default keymap

* Remove unneeded references

* Fix tapping term per key check in space cadet

* Pre-emptive fix for tap dance

* Fix marksard/leftover30

* Replace hard coded tapping term with define
5 years ago
Nick Brassel 25e972e8a4
Fix up build dependencies. (#11435) 5 years ago
QMK Bot 1f8acb7619 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Joel Elkins 070240f212
arm_atsam: Use PROGRAM_CMD for :flash target if set (#11424) 5 years ago
Zach White 11bd98f684
Fix broken keyboards (#11412)
* Fix a couple errors

* add a dependency for the generated headers
5 years ago
fauxpark e3da93e658 Merge remote-tracking branch 'upstream/master' into develop 5 years ago
Joel Challis a68d289fa5
Manually run formatting CI process (#11375) 5 years ago