Commit Graph

2492 Commits

Author SHA1 Message Date
QMK Bot
8adaba9de9 Merge remote-tracking branch 'origin/develop' into xap 2022-11-09 17:49:22 +00:00
Christopher Hoage
af52a9f8ad
Fix jump in report value when scale changes during cirque get report (#18992)
Fixes undefined
2022-11-09 09:48:46 -08:00
QMK Bot
dc761140c9 Merge remote-tracking branch 'origin/develop' into xap 2022-11-08 19:04:10 +00:00
Ryan
d810878d5e
Normalise output selection (Bluetooth) keycodes (#19004) 2022-11-08 19:03:31 +00:00
QMK Bot
97a538afc6 Merge remote-tracking branch 'origin/develop' into xap 2022-11-07 02:44:30 +00:00
Joel Challis
e4d2ba9a4d
Align haptic feedback keycode names (#18964) 2022-11-07 02:43:53 +00:00
QMK Bot
7ac9339b91 Merge remote-tracking branch 'origin/develop' into xap 2022-11-07 02:26:51 +00:00
Ryan
8b658dcc9a
Normalise MIDI keycodes (#18972)
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG`

* `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND`

* `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD`

* `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD`

* `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD`

* Misc controls

* Note keycodes

* Add legacy keycodes

* Regenerate keycodes

* Typo
2022-11-07 02:26:15 +00:00
QMK Bot
d86f65941c Merge remote-tracking branch 'origin/develop' into xap 2022-11-06 21:39:34 +00:00
Sergey Vlasov
a7b2f4233c
Fix keycode parameter extraction to match the new DD keycodes (#18977)
* Add macros to extract parameters from keycode values

Implement both encoding and decoding for keycodes like TO(layer) or
LM(layer, mod) in one place, so that the decoding won't get out of sync
with the encoding.

While at it, fix some macros for creating keycode values that did not
apply the appropriate masks to parameters (and therefore could allow the
result to be out of range if a wrong parameter was passed).

* keymap_common: Use extraction macros for keycodes

* pointing_device_auto_mouse: Use extraction macros for keycodes

Fixes #18970.

* process_autocorrect: Use extraction macros for keycodes

* process_caps_word: Use extraction macros for keycodes

(Also fix a minor bug - SH_TG was not handled properly)

* process_leader: Use extraction macros for keycodes

(Technically the code is not 100% correct, because it always assumes
that the LT() or MT() action was a tap, but it's a separate issue that
already existed before the keycode changes.)

* process_unicode: Use extraction macros for keycodes

* process_unicodemap: Use extraction macros for keycodes
2022-11-06 21:39:05 +00:00
Nick Brassel
d6841242e6
Merge remote-tracking branch 'upstream/develop' into xap 2022-11-06 08:34:19 +11:00
Nick Brassel
219afaba42
Reworked backlight keycodes. (#18961)
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-06 08:11:59 +11:00
Drashna Jaelre
352beeac2f
[Bug] Fix compilation issue with WPM (#18965) 2022-11-05 19:05:01 +00:00
Joel Challis
69fa02c37d
Align audio keycode names (#18962)
* Align audio keycode names

* Update docs

* Update quantum
2022-11-05 17:05:19 +00:00
Joel Challis
fd4c3f46fb
Align dynamic tapping term keycode names (#18963)
* Align dynamic tapping term keycode names

* regen header
2022-11-05 16:58:30 +00:00
Nick Brassel
5233c69bc6
Remove thermal printer. (#18959) 2022-11-06 00:15:55 +11:00
Nick Brassel
4d33f356a6
Macro keycode name refactoring (#18958) 2022-11-05 23:22:11 +11:00
Ryan
fe00c80211
Reduce includes for send_string header (#18952) 2022-11-05 21:45:40 +11:00
Joel Challis
a69ab05dd6
Initial DD keycode migration (#18643)
* Initial DD keycode migration

* Sort magic keycodes
2022-11-05 10:30:09 +00:00
Nick Brassel
f82e90bdea
Formalise keyboard- and user-specific EEPROM blocks (#18874)
* Formalise keyboard and user eeconfig datablocks.

* Add debounce helper that checks a condition and issues post-write function invocation.

* Naming.
2022-11-04 19:20:11 +00:00
QMK Bot
4ce71d4377 Merge remote-tracking branch 'origin/develop' into xap 2022-11-04 11:55:27 +00:00
Joel Challis
ea98aa8e5e
Reduce includes for dip_switch header (#18951) 2022-11-04 11:54:35 +00:00
QMK Bot
2db4cc0f4a Merge remote-tracking branch 'origin/develop' into xap 2022-11-04 00:51:45 +00:00
Joel Challis
fb96b88842
Reduce includes for wpm header (#18949) 2022-11-04 00:50:59 +00:00
QMK Bot
8d7d7b8fc2 Merge remote-tracking branch 'origin/develop' into xap 2022-11-03 23:43:30 +00:00
Joel Challis
1249f74b31
Reduce includes for caps_word header (#18948) 2022-11-03 23:42:58 +00:00
QMK Bot
bde0a49704 Merge remote-tracking branch 'origin/develop' into xap 2022-11-03 23:01:39 +00:00
Ryan
fe18df9d41
Normalise Dynamic Macro keycodes (#18939)
* `DYN_REC_START1` -> `QK_DYNAMIC_MACRO_RECORD_START_1`

* `DYN_REC_START2` -> `QK_DYNAMIC_MACRO_RECORD_START_2`

* `DYN_MACRO_PLAY1` -> `QK_DYNAMIC_MACRO_PLAY_1`

* `DYN_MACRO_PLAY2` -> `QK_DYNAMIC_MACRO_PLAY_2`

* `DYN_REC_STOP` -> `QK_DYNAMIC_MACRO_RECORD_STOP`

* Update docs
2022-11-03 23:01:06 +00:00
QMK Bot
c099e25ad7 Merge remote-tracking branch 'origin/develop' into xap 2022-11-03 21:37:51 +00:00
Joel Challis
3de296f420
Reduce includes for crc header (#18947) 2022-11-03 21:36:58 +00:00
QMK Bot
493004561d Merge remote-tracking branch 'origin/develop' into xap 2022-11-03 20:45:06 +00:00
Joel Challis
f11a247127
Reduce includes for sequencer header (#18946) 2022-11-03 20:44:36 +00:00
Stefan Kerkmann
1983421b7d
XAP: prevent OOB reads in config blob handler (#18926)
This fixes two bugs:

1. An invalid offset could be specified which wasn't checked to be in
   the bounds of the config blob.
2. The data_len check was incorrect as it would allow reading one byte
   past the config blob lenght.

Before the changes the following operation wouldn't fail:

Assuming we have blob of 64 bytes size and attempt a read with an
offset of 32 and data_len of 32, we actually try to read 32 bytes
starting from the 33. byte in the config blob. This reads exactly
one byte past array. Therefore we have to subtract one byte the get
the correct length.
2022-11-01 15:54:56 +00:00
Nick Brassel
d84090ec96
Bad Merge 2022-11-01 15:16:25 +11:00
Nick Brassel
478ae168d2
Merge remote-tracking branch 'upstream/develop' into xap 2022-11-01 15:13:23 +11:00
Drashna Jaelre
ae5f818d5a
Simplify Keymap Config EEPROM (#18886)
* Simplify Keymap Config EEPROM

* Decrement eeconfig magic number due to eeconfig changes

* Update quantum/eeconfig.h

Co-authored-by: Joel Challis <git@zvecr.com>
2022-11-01 01:02:43 +00:00
QMK Bot
0794370d75 Merge remote-tracking branch 'origin/develop' into xap 2022-10-31 21:15:52 +00:00
Ryan
5974d989fe
Normalise Unicode keycodes (#18898)
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV`

* `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*`

* `UC_MAC` -> `UNICODE_MODE_MACOS`

* `UC_LNX` -> `UNICODE_MODE_LINUX`

* `UC_WIN` -> `UNICODE_MODE_WINDOWS`

* `UC_BSD` -> `UNICODE_MODE_BSD`

* `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE`

* `UC_EMACS` -> `UNICODE_MODE_EMACS`

* `UC__COUNT` -> `UNICODE_MODE_COUNT`

* `UC_M_MA` -> `UC_MAC`

* `UC_M_LN` -> `UC_LINX`

* `UC_M_WI` -> `UC_WIN`

* `UC_M_BS` -> `UC_BSD`

* `UC_M_WC` -> `UC_WINC`

* `UC_M_EM` -> `UC_EMAC`

* Docs

* Update quantum/unicode/unicode.h
2022-10-31 21:15:12 +00:00
QMK Bot
2c3c6c99b9 Merge remote-tracking branch 'origin/develop' into xap 2022-10-28 12:53:49 +00:00
Ryan
22be7e79ac
Normalise Auto Shift keycodes (#18892)
* Normalise Auto Shift keycodes

* Add keycode table to main list

* Add old keycodes to legacy header
2022-10-28 13:53:15 +01:00
QMK Bot
85065fa1c1 Merge remote-tracking branch 'origin/develop' into xap 2022-10-28 11:22:22 +00:00
Ryan
2ff1d85290
Normalise Autocorrect keycodes (#18893) 2022-10-28 12:21:24 +01:00
QMK Bot
2c40a59184 Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 22:51:03 +00:00
Ryan
7407347be1
Remove rgblight_list.h (#18878)
* Remove rgblight_list defines with no usage

* Remove rgblight_setrgb_*[_at] defines

* Remove rgblight_sethsv_* defines

* Remove rgblight_sethsv_noeeprom_* defines

* Delete rgblight_list.h and remove all references
2022-10-27 23:50:14 +01:00
QMK Bot
f502cade49 Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 18:34:37 +00:00
Ryan
90f6b75873
Remove KC_DELT (#18882) 2022-10-27 19:33:38 +01:00
QMK Bot
0f5e3165ae Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 13:00:30 +00:00
Ryan
efe520645e
Normalise Combo keycodes (#18877) 2022-10-27 13:59:58 +01:00
QMK Bot
45925680d5 Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 12:08:47 +00:00
Ryan
8436f0dfa6
Add missing Space Cadet alias (#18876) 2022-10-27 13:08:14 +01:00
zvecr
3ee042f236 set_rgb_matrix_config shouldnt touch eeprom 2022-10-27 11:22:19 +01:00
QMK Bot
313024a25e Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 10:20:20 +00:00
Ryan
002b58f0e4
Normalise Space Cadet keycodes (#18864) 2022-10-27 11:19:16 +01:00
QMK Bot
92d757387d Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 08:53:33 +00:00
Joel Challis
8e0945c822
Fix rgb_matrix_set_flags_noeeprom declaration (#18860) 2022-10-27 09:52:51 +01:00
QMK Bot
1b6a19ef10 Merge remote-tracking branch 'origin/develop' into xap 2022-10-27 07:29:59 +00:00
Nick Brassel
91b1e8a3e5
Allow overriding of dynamic keymap start address. (#18867) 2022-10-27 18:29:26 +11:00
Nick Brassel
d9c8a64c18
Fix build error with NKRO_ENABLE=no 2022-10-27 11:54:51 +11:00
QMK Bot
73b9f7845d Merge remote-tracking branch 'origin/develop' into xap 2022-10-26 19:50:16 +00:00
Selene ToyKeeper
2a61bfc27d
add "inertia" mode for mouse keys (#18774)
Co-authored-by: Selene ToyKeeper <git@toykeeper.net>
2022-10-26 20:49:44 +01:00
QMK Bot
a0aea0f76b Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 22:00:11 +00:00
Joel Challis
ec2414c074
Deprecate SECURE_* keycodes for QK_SECURE_* (#18847)
* Deprecate SECURE_* keycodes for QK_SECURE_*

* Update keycode process

* Update process_secure.c

* Apply suggestions from code review

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

Co-authored-by: Ryan <fauxpark@gmail.com>
2022-10-25 22:59:17 +01:00
QMK Bot
f780c9de05 Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 16:50:54 +00:00
Ryan
812001de7f
Deprecate ONESHOT_* keycodes for QK_ONE_SHOT_* (#18844)
* Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*`

* Docs
2022-10-25 17:50:22 +01:00
QMK Bot
4a64f4ffbc Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 13:46:05 +00:00
Ryan
1d34f380eb
Deprecate KEY_OVERRIDE_* keycodes for KO_* (#18843) 2022-10-25 14:45:57 +01:00
QMK Bot
663c31e71b Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 05:08:10 +00:00
Joel Challis
4f63be4d1d
Remove some assumptions on sequential keycode ranges (#18838) 2022-10-24 22:07:34 -07:00
QMK Bot
904144e313 Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 05:02:54 +00:00
Selene ToyKeeper
e863c431f6
added BS_TOGG so BS_SWAP and BS_NORM can be on a single key (#18837)
Co-authored-by: Selene ToyKeeper <git@toykeeper.net>
2022-10-24 22:02:21 -07:00
QMK Bot
9f500cd676 Merge remote-tracking branch 'origin/develop' into xap 2022-10-24 16:31:27 +00:00
Ryan
a80b886751
Deprecate CAPS_WORD/CAPSWRD for CW_TOGG (#18834) 2022-10-24 17:30:37 +01:00
QMK Bot
905170848b Merge remote-tracking branch 'origin/develop' into xap 2022-10-24 14:51:30 +00:00
Ryan
6bbe8b6edd
Normalise Joystick and Programmable Button keycodes (#18832) 2022-10-24 15:50:33 +01:00
QMK Bot
fbf12e2cd3 Merge remote-tracking branch 'origin/develop' into xap 2022-10-22 20:45:51 +00:00
Ryan
74484e21af
Deprecate VLK_TOG for VK_TOGG (#18807) 2022-10-22 21:45:20 +01:00
QMK Bot
3f8c8893e2 Merge remote-tracking branch 'origin/develop' into xap 2022-10-21 20:44:26 +00:00
Ryan
4f3af09209
Remove legacy fauxclicky and unicode keycodes (#18800) 2022-10-21 21:43:55 +01:00
QMK Bot
d0a0c4218c Merge remote-tracking branch 'origin/develop' into xap 2022-10-21 14:46:58 +00:00
Ryan
7cbff9d921
Deprecate KC_LOCK for QK_LOCK (#18796) 2022-10-21 15:46:10 +01:00
QMK Bot
661e0fa1a1 Merge remote-tracking branch 'origin/develop' into xap 2022-10-21 13:26:44 +00:00
Ryan
b33fc34967
Deprecate KC_LEAD for QK_LEAD (#18792) 2022-10-21 14:25:54 +01:00
QMK Bot
6de0909a08 Merge remote-tracking branch 'origin/develop' into xap 2022-10-21 01:04:46 +00:00
Ryan
1cb1a5a374
Remove legacy Grave Escape keycodes (#18787) 2022-10-20 18:04:11 -07:00
QMK Bot
c07995dd01 Merge remote-tracking branch 'origin/develop' into xap 2022-10-20 13:42:52 +00:00
Ryan
af678521c1
Remove quantum/audio from global VPATH (#18753) 2022-10-20 14:41:45 +01:00
QMK Bot
1bd3727689 Merge remote-tracking branch 'origin/develop' into xap 2022-10-20 11:20:50 +00:00
Ryan
c347e732be
Remove legacy EEPROM clear keycodes (#18782)
* `EEP_RST` -> `EE_CLR`, default-ish keymaps

* `EEP_RST` -> `EE_CLR`, user keymaps

* `EEP_RST` -> `EE_CLR`, community layouts

* `EEP_RST` -> `EE_CLR`, userspace

* `EEP_RST` -> `EE_CLR`, docs & core
2022-10-20 12:20:07 +01:00
QMK Bot
60c668fabc Merge remote-tracking branch 'origin/develop' into xap 2022-10-19 10:33:42 +00:00
Ryan
18dc851e37
Remove legacy Debug keycode (#18769)
* `DEBUG` -> `DB_TOGG`, default-ish keymaps

* `DEBUG` -> `DB_TOGG`, user keymaps

* `DEBUG` -> `DB_TOGG`, community layouts

* `DEBUG` -> `DB_TOGG`, userspace

* `DEBUG` -> `DB_TOGG`, docs & core
2022-10-19 11:33:05 +01:00
QMK Bot
16d92e1fbf Merge remote-tracking branch 'origin/develop' into xap 2022-10-17 21:29:50 +00:00
QMK Bot
e59cb51be0
[CI] Format code according to conventions (#18756) 2022-10-18 08:29:19 +11:00
QMK Bot
5e40e40280 Merge remote-tracking branch 'origin/develop' into xap 2022-10-17 21:27:31 +00:00
Jamal Bouajjaj
9d4c4ceee1
4 Driver support for IS31FL3737 (#18750)
* Added 4 driver support for the IS31FL3737 LED driver

* Updated docs for IS31FL3737 to support 4 drivers
2022-10-18 08:26:58 +11:00
QMK Bot
ae17dae21c Merge remote-tracking branch 'origin/develop' into xap 2022-10-17 12:46:34 +00:00
Ryan
bad8c5992b
Remove legacy sendstring keycodes (#18749) 2022-10-17 13:45:23 +01:00
zvecr
edc14b29be Dump lighting maps out of inline gen 2022-10-16 23:55:44 +01:00
QMK Bot
e8f40517a8 Merge remote-tracking branch 'origin/develop' into xap 2022-10-16 13:15:19 +00:00
Ryan
74223c34a9
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT`

* `KC_RCTRL` -> `KC_RCTL`

* `KC_LSHIFT` -> `KC_LSFT`

* `KC_LCTRL` -> `KC_LCTL`
2022-10-16 14:14:40 +01:00
QMK Bot
67e70084ed Merge remote-tracking branch 'origin/develop' into xap 2022-10-15 21:30:48 +00:00
Ryan
5e4b076af3
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
2022-10-15 22:29:43 +01:00
QMK Bot
0a27eb6017 Merge remote-tracking branch 'origin/develop' into xap 2022-10-15 03:34:25 +00:00
Ryan
f0b2bfd5ca
Programmable Button API refactor and improve docs (#18641) 2022-10-15 14:33:24 +11:00
QMK Bot
23e9dba7e2 Merge remote-tracking branch 'origin/develop' into xap 2022-10-13 17:28:56 +00:00
Ryan
5629ba1807
Remove legacy keycodes, part 4 (#18683)
* `KC_PGDOWN` -> `KC_PGDN`

* `KC_PSCREEN` -> `KC_PSCR`

* `KC_SCOLON` -> `KC_SCLN`

* `KC_BSLASH` -> `KC_BSLS`

* `KC_BSPACE` -> `KC_BSPC`
2022-10-13 18:28:14 +01:00
QMK Bot
618ed410d5 Merge remote-tracking branch 'origin/develop' into xap 2022-10-11 18:33:49 +00:00
James Thomson
41159326ca
Fix boundary in RGB_MATRIX_INDICATOR_SET_COLOR (#18650) 2022-10-11 11:33:02 -07:00
QMK Bot
38667d658e Merge remote-tracking branch 'origin/develop' into xap 2022-10-11 13:22:29 +00:00
Ryan
e96d829724
Remove legacy keycodes, part 3 (#18669)
* `KC__VOLDOWN` -> `KC_VOLD`

* `KC__VOLUP` -> `KC_VOLU`

* `KC__MUTE` -> `KC_MUTE`

* `KC_POWER` -> `KC_PWR`
2022-10-11 14:21:47 +01:00
QMK Bot
e9357ae2fe Merge remote-tracking branch 'origin/develop' into xap 2022-10-10 19:07:04 +00:00
Ryan
c6f1b594a2
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ`

And one `KC_ALT_ERASE` -> `KC_ERAS`

* `KC_NONUS_BSLASH` -> `KC_NUBS`

* `KC_NUMLOCK` -> `KC_NUM`

* `KC_CLCK` -> `KC_CAPS`

* `KC_SCROLLLOCK` -> `KC_SCRL`

* `KC_LBRACKET` -> `KC_LBRC`

* `KC_RBRACKET` -> `KC_RBRC`

* `KC_CAPSLOCK` -> `KC_CAPS`
2022-10-10 20:06:26 +01:00
QMK Bot
c997ece637 Merge remote-tracking branch 'origin/develop' into xap 2022-10-10 01:00:58 +00:00
Joel Challis
9d43cc319c
Fix mouse use within send_string (#18659) 2022-10-09 18:00:26 -07:00
QMK Bot
c34521eff6 Merge remote-tracking branch 'origin/develop' into xap 2022-10-09 03:51:42 +00:00
Ryan
4b2d71de52
Remove legacy international keycodes (#18588) 2022-10-09 14:51:09 +11:00
QMK Bot
331531f4b7 Merge remote-tracking branch 'origin/develop' into xap 2022-10-08 16:14:30 +00:00
jpe230
86938fd958
Allow QK_MAKE to work with converters (#18637) 2022-10-08 09:13:58 -07:00
Nick Brassel
f7b44473aa
Use introspection handlers. 2022-10-08 15:14:02 +11:00
QMK Bot
1f6d588d4e Merge remote-tracking branch 'origin/develop' into xap 2022-10-07 22:37:21 +00:00
Joel Challis
f090cfe75c
Relocate US ANSI shifted keycode aliases (#18634) 2022-10-07 23:36:38 +01:00
QMK Bot
21bb73f56d Merge remote-tracking branch 'origin/develop' into xap 2022-10-06 10:25:13 +00:00
Thomas Weißschuh
cbe1c22d46
quantum: led: split out led_update_ports() for customization of led behaviour (#14452) 2022-10-06 21:24:41 +11:00
QMK Bot
73842f12e3 Merge remote-tracking branch 'origin/develop' into xap 2022-10-06 09:53:14 +00:00
Dasky
c255174cf3
Implement split comms watchdog (#18599) 2022-10-06 20:52:42 +11:00
Stefan Kerkmann
907640e40e
[Bug] XAP: Fix unaligned memory access in config blob handler and USB task loop condition (#18612)
* Fix unaligned memory access in config blob handler

data* points in the middle of an u8 array, casting this to an u16* and
dereferencing it leads to an unaligned memory access - which hardfaults
on Cortex M0 mcus e.g. RP2040s.

* Actually read until there is no more data to be read
2022-10-05 20:26:53 +01:00
QMK Bot
a2a81a574b Merge remote-tracking branch 'origin/develop' into xap 2022-10-05 17:42:39 +00:00
precondition
49030e3e5b
Use get_u16_str instead of snprintf in autoshift_timer_report (#18606) 2022-10-05 10:42:05 -07:00
QMK Bot
3ce3380dbb Merge remote-tracking branch 'origin/develop' into xap 2022-10-05 17:25:23 +00:00
Stefan Kerkmann
c76d2074b6
[Bug] Fix ST7565 handler deadlock (#18609) 2022-10-05 19:22:57 +02:00
QMK Bot
ac96c4b4da Merge remote-tracking branch 'origin/develop' into xap 2022-10-05 17:09:02 +00:00
QMK Bot
86ce1d4b04 Merge remote-tracking branch 'origin/master' into develop 2022-10-05 16:55:12 +00:00
George Rodrigues
959f4cbb62
docs: some typos (#18582)
probably hacktoberism
2022-10-05 17:32:07 +01:00
QMK Bot
56c21685b3 Merge remote-tracking branch 'origin/develop' into xap 2022-10-05 15:22:18 +00:00
Ryan
d1b6b06202
Remove legacy locking caps/num/scroll keycodes (#18601) 2022-10-05 16:21:40 +01:00
QMK Bot
f0f21df0d3 Merge remote-tracking branch 'origin/develop' into xap 2022-10-04 22:25:12 +00:00
Drashna Jaelre
64b1ed4550
Fix Per Key LED Indicator Callbacks (#18450)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-10-04 15:24:22 -07:00
QMK Bot
3d6a1462df Merge remote-tracking branch 'origin/develop' into xap 2022-10-04 21:11:04 +00:00
Stefan Kerkmann
996a9006d3
[Core] PWM Backlight for RP2040 (#17706) 2022-10-04 23:10:24 +02:00
QMK Bot
13c97f741d Merge remote-tracking branch 'origin/develop' into xap 2022-10-04 18:50:13 +00:00
Stefan Kerkmann
56f7b34289
[Core] rewrite locking in split transaction handlers (#18417) 2022-10-05 05:49:29 +11:00
QMK Bot
46afdf5427 Merge remote-tracking branch 'origin/develop' into xap 2022-10-03 09:49:00 +00:00
Sergey Vlasov
ca0c12847a
Fix layer switching from tap dances by redoing the keymap lookup (#17935) 2022-10-03 20:48:16 +11:00
QMK Bot
37542bff09 Merge remote-tracking branch 'origin/develop' into xap 2022-10-03 07:27:22 +00:00
Jason Ken Adhinarta
c0e6a28bc6
Prevent tap dance from wiping dynamic macros (#17880) 2022-10-03 18:26:47 +11:00
zvecr
986534ea95 Stub out lighting sets 2022-10-03 01:04:49 +01:00
QMK Bot
1f59883a7a Merge remote-tracking branch 'origin/develop' into xap 2022-10-01 08:53:22 +00:00
precondition
e78fa1fbf0
Fix comment of CM_QUES (Colemak question mark) (#18557)
`#define CM_QUES S(CM_SLSH) // /` → `#define CM_QUES S(CM_SLSH) // ?`
2022-10-01 01:52:46 -07:00
zvecr
7ee5347485 Add eeprom init route 2022-10-01 04:16:19 +01:00
QMK Bot
0d58075958 Merge remote-tracking branch 'origin/develop' into xap 2022-09-30 20:29:56 +00:00
Ryan
2c96c75263
Small un/register_code() cleanups (#18544) 2022-09-30 16:29:24 -04:00
zvecr
95185b5fcc Fix dynamic keymap hash 2022-09-30 00:11:40 +01:00
zvecr
019d3f4877 Finish stub for effect mapping 2022-09-29 23:44:19 +01:00
zvecr
f81328068e stash more lighting 2022-09-29 23:44:19 +01:00
zvecr
1dbb4c0f96 stash 2022-09-29 23:44:19 +01:00
Drashna Jael're
5db8ab38d9
Merge remote-tracking branch 'origin/develop' into xap 2022-09-29 13:30:12 -07:00
Drashna Jaelre
dbe214c326
Handle mouse keys more consistently (#18513) 2022-09-29 10:50:47 -07:00
Ryan
f80058d96e
Start Bluetooth API (#18366) 2022-09-29 18:38:09 +01:00
Nick Brassel
cbbb45c13f
Start moving towards introspection-based data retrieval (#18441) 2022-09-29 18:25:55 +01:00
izmishi
703d8cd417
Fix retain brightness when val is changed while a layer is active (#18426)
* Fix retain brightness when val is changed while a layer is active

* Fix retain brightness for RGBLIGHT_MODE_STATIC_GRADIENT

* Fix formatting
2022-09-28 13:16:24 -04:00
Ryan
be8907d634
Further refactoring of joystick feature (#18437) 2022-09-27 18:37:13 +10:00
QMK Bot
b0fcd50f22 Merge remote-tracking branch 'origin/develop' into xap 2022-09-27 03:49:46 +00:00
Drashna Jaelre
fb400f2ac2
Enabling Pointing Device support in register code functions (#18363) 2022-09-26 20:49:32 -07:00
Drashna Jaelre
d909038b28
Move Oneshot mod callbacks to after mods are set (#18101) 2022-09-26 20:49:15 -07:00
QMK Bot
516071b97a Merge remote-tracking branch 'origin/develop' into xap 2022-09-26 04:40:57 +00:00
Ryan
ea2819b2c2
Change {LED,RGB}_DISABLE_TIMEOUT to {LED,RGB}_MATRIX_TIMEOUT (#18415) 2022-09-26 14:40:15 +10:00
QMK Bot
d9e1cfd7aa Merge remote-tracking branch 'origin/develop' into xap 2022-09-24 15:44:43 +00:00
Thomas
94d5fe6f90
Allow Active High for Pointing Device Motion Pin (#18404)
Needed by the Cirque Trackpad for motion detection
2022-09-24 08:44:14 -07:00
QMK Bot
a4233dc1cd Merge remote-tracking branch 'origin/develop' into xap 2022-09-24 07:35:14 +00:00
QMK Bot
df30327c19
Format code according to conventions (#18466) 2022-09-24 00:34:44 -07:00
QMK Bot
19a416b5f6 Merge remote-tracking branch 'origin/develop' into xap 2022-09-24 06:44:27 +00:00
Alabastard-64
7c1797f52f
[Core] Pointing Device Automatic Mouse Layer (#17962)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-09-23 23:43:55 -07:00
QMK Bot
da226ee669 Merge remote-tracking branch 'origin/develop' into xap 2022-09-23 12:47:02 +00:00
Ryan
36c410592d
Change DRIVER_LED_COUNT to {LED,RGB}_MATRIX_LED_COUNT (#18399) 2022-09-23 22:46:23 +10:00
QMK Bot
529e3e3706 Merge remote-tracking branch 'origin/develop' into xap 2022-09-19 18:35:36 +00:00
QMK Bot
731000533f Merge remote-tracking branch 'origin/master' into develop 2022-09-19 18:35:02 +00:00
Marius Renner
652d1d8a6d
Fix int8_t overflow in RGB heatmap effect (#18410) 2022-09-19 19:34:29 +01:00
QMK Bot
fb7a31078e Merge remote-tracking branch 'origin/develop' into xap 2022-09-19 16:06:09 +00:00
Stefan Kerkmann
2aa3a8e059
[Core] remove busy waiting from rgblight functions (#18418) 2022-09-19 18:05:31 +02:00
QMK Bot
cec9deed57 Merge remote-tracking branch 'origin/develop' into xap 2022-09-18 21:30:46 +00:00
Nick Brassel
1849897444
[QP] Add RGB565 surface. Docs clarification, cleanup, tabsification, and reordering. (#18396) 2022-09-19 07:30:08 +10:00
QMK Bot
8cd8ab916f Merge remote-tracking branch 'origin/develop' into xap 2022-09-18 15:51:43 +00:00
Joshua Diamond
a3a47a6556
Work around WinCompose issue for U+Axxx or U+Exxx (#18260)
* Work around WinCompose issue for U+Axxx or U+Exxx

* tzarc's more efficient version

Co-authored-by: Thomas <mail@tpreisner.de>
2022-09-18 11:51:04 -04:00
QMK Bot
b132f68361 Merge remote-tracking branch 'origin/develop' into xap 2022-09-17 19:59:17 +00:00
Dasky
db6a637398
Fix EECONFIG_KEYMAP_UPPER_BYTE init (#18394)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-09-17 20:58:46 +01:00
QMK Bot
0f234fc77e Merge remote-tracking branch 'origin/develop' into xap 2022-09-17 07:51:36 +00:00
Drashna Jaelre
fb29c0ae53
[Core] Add getreuer's Autocorrect feature to core (#15699)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
2022-09-17 17:50:54 +10:00
QMK Bot
24f82e0de3 Merge remote-tracking branch 'origin/develop' into xap 2022-09-17 05:49:34 +00:00
Drashna Jaelre
d67d388e77
Move mousekey keycodes into newly freed up keycode block (#16076) 2022-09-17 15:49:00 +10:00
QMK Bot
166b18dfe1 Merge remote-tracking branch 'origin/develop' into xap 2022-09-17 05:48:41 +00:00
Joshua Diamond
a26f1ddafa
Chromeos keycodes (#18212) 2022-09-17 15:48:09 +10:00
QMK Bot
0a12ca0e1f Merge remote-tracking branch 'origin/develop' into xap 2022-09-15 23:06:35 +00:00
Dasky
e1aed8da08
Move fake EE_HANDS (#18352) 2022-09-16 00:06:00 +01:00
QMK Bot
14809c8f64 Merge remote-tracking branch 'origin/develop' into xap 2022-09-15 06:49:19 +00:00
Dasky
40b0b3a983
Fix cirque tap from secondary side (#18351) 2022-09-14 23:48:43 -07:00
QMK Bot
b2daeb3b0a Merge remote-tracking branch 'origin/develop' into xap 2022-09-14 18:16:36 +00:00
Joel Challis
8d715fc16b
Remove deprecated RESET keycode alias (#18271) 2022-09-14 11:15:57 -07:00
QMK Bot
d48de47ad2 Merge remote-tracking branch 'origin/develop' into xap 2022-09-12 15:49:39 +00:00
Ryan
3d667f0970
Refactor Unicode feature (#18333) 2022-09-12 08:49:04 -07:00
QMK Bot
2471270b91 Merge remote-tracking branch 'origin/develop' into xap 2022-09-07 18:59:58 +00:00
Ryan
f7d2b001bc
Move Bluetooth-related function calls up to host/keyboard level (#18274)
* Move Bluetooth-related function calls up to host/keyboard level

* Remove pointless set_output() call

* Move bluetooth (rn42) init to end of keyboard_init()

* Enable SPI/UART for ChibiOS targets

* Some more slight tweaks
2022-09-07 19:59:24 +01:00
QMK Bot
d05ba544ca Merge remote-tracking branch 'origin/develop' into xap 2022-09-06 17:07:42 +00:00
Ryan
8833b28361
Remove UNICODE_KEY_OSX and UC_OSX (#18290) 2022-09-06 18:07:08 +01:00
QMK Bot
076877475d Merge remote-tracking branch 'origin/develop' into xap 2022-09-06 04:26:35 +00:00
QMK Bot
165c15e250 Merge remote-tracking branch 'origin/master' into develop 2022-09-06 04:26:03 +00:00
Joel Challis
0306bdf7fd
Remove use of legacy keycode (#18281) 2022-09-06 05:25:32 +01:00
QMK Bot
5a9e3a71f0 Merge remote-tracking branch 'origin/develop' into xap 2022-09-02 03:43:50 +00:00
Drashna Jaelre
423826a34a
Better handle EEPROM reset keycode (#18244) 2022-09-01 20:43:06 -07:00
QMK Bot
21c4f3d103 Merge remote-tracking branch 'origin/develop' into xap 2022-08-31 23:40:11 +00:00
Joshua Diamond
e4bf832368
Add unicode mode change callbacks (#18235) 2022-08-31 16:39:16 -07:00
QMK Bot
ea36c25732 Merge remote-tracking branch 'origin/develop' into xap 2022-08-30 08:20:35 +00:00
Jeff Epler
9632360caa
Use a macro to compute the size of arrays at compile time (#18044)
* Add ARRAY_SIZE and CEILING utility macros

* Apply a coccinelle patch to use ARRAY_SIZE

* fix up some straggling items

* Fix 'make test:secure'

* Enhance ARRAY_SIZE macro to reject acting on pointers

The previous definition would not produce a diagnostic for
```
int *p;
size_t num_elem = ARRAY_SIZE(p)
```
but the new one will.

* explicitly get definition of ARRAY_SIZE

* Convert to ARRAY_SIZE when const is involved

The following spatch finds additional instances where the array is
const and the division is by the size of the type, not the size of
the first element:
```
@ rule5a using "empty.iso" @
type T;
const T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)

@ rule6a using "empty.iso" @
type T;
const T[] E;
@@

- sizeof(E)/sizeof(T)
+ ARRAY_SIZE(E)
```

* New instances of ARRAY_SIZE added since initial spatch run

* Use `ARRAY_SIZE` in docs (found by grep)

* Manually use ARRAY_SIZE

hs_set is expected to be the same size as uint16_t, though it's made
of two 8-bit integers

* Just like char, sizeof(uint8_t) is guaranteed to be 1

This is at least true on any plausible system where qmk is actually used.

Per my understanding it's universally true, assuming that uint8_t exists:
https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1

* Run qmk-format on core C files touched in this branch

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-08-30 10:20:04 +02:00
QMK Bot
5defb67dbb Merge remote-tracking branch 'origin/develop' into xap 2022-08-29 17:17:52 +00:00
Stefan Kerkmann
e99ec28f5f
[Core] Introduce pointing device specific debug messages (#17663) 2022-08-29 19:16:49 +02:00
QMK Bot
44b30e559d Merge remote-tracking branch 'origin/develop' into xap 2022-08-29 04:53:38 +00:00
Nick Brassel
d910e8df77
Use TAP_CODE_DELAY for encoder mapping by default (#18098) 2022-08-28 21:53:08 -07:00
QMK Bot
1b23c1c9dd Merge remote-tracking branch 'origin/develop' into xap 2022-08-29 04:35:21 +00:00
Drzony
f2edb73974
Fix mouse report comparison failing on shared EP (#18060)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2022-08-28 21:34:42 -07:00
QMK Bot
5f08fff016 Merge remote-tracking branch 'origin/develop' into xap 2022-08-28 17:00:20 +00:00
Ryan
d983251c10
Switch over MANUFACTURER and PRODUCT to string literals (#18183) 2022-08-28 09:59:40 -07:00
QMK Bot
998a9de26a Merge remote-tracking branch 'origin/develop' into xap 2022-08-28 06:15:08 +00:00
James Young
efdd4f4d50
Clean-up of #define _ADJUST 16 instances (#18182)
* enum layer_names: 40percentclub/nori default keymap

* enum layer_names: ergotravel default keymap

* enum layer_names: handwired/atreus50 default keymap

* enum layer_names: handwired/ortho5x13 default keymap

* enum layer_names: keebio/levinson default keymap

* enum layer_names: keebio/nyquist default keymap

* enum layer_names: keebio/rorschach default keymap

* enum layer_names: keebio/viterbi default keymap

* enum layer_names: keebio/wavelet default keymap

* enum layer_names: lets_split default keymap

* enum layer_names: maple_computing/launchpad reference keymaps

Update `default` and `default_rgb` keymaps.

* enum layer_names: maple_computing/minidox default keymap

* enum layer_names: miniaxe reference keymaps

Update `default` and `underglow` keymaps.

* enum layer_names: omkbd/ergodash/mini default keymap

* enum layer_names: omkbd/ergodash/rev1 default keymap

* enum layer_names: orthodox default keymap

* enum layer_names: unikeyboard/divergetm2 default keymap

* enum layer_names: woodkeys/scarletbandana default keymap

* add _Static_assert to keymap_introspection.c
2022-08-27 23:13:44 -07:00
QMK Bot
397db79a60 Merge remote-tracking branch 'origin/develop' into xap 2022-08-26 23:41:45 +00:00
Joel Challis
a2765bfe19
Add missing SS_LOPT and SS_ROPT defines (#18175) 2022-08-27 09:41:10 +10:00
QMK Bot
00e55f910e Merge remote-tracking branch 'origin/develop' into xap 2022-08-15 17:41:47 +00:00
precondition
5021cf58ad
Fix DV_SCLN and DV_COLN in keymap_spanish_dvorak.h (#18043) 2022-08-15 18:41:05 +01:00
QMK Bot
83624cabef Merge remote-tracking branch 'origin/develop' into xap 2022-08-15 14:41:31 +00:00
Stefan Kerkmann
8ce946b5c8
[Bug] Add key event check to is_tap_record and remove is_tap_key (#18063) 2022-08-15 16:40:51 +02:00
QMK Bot
e119495bef Merge remote-tracking branch 'origin/develop' into xap 2022-08-15 05:25:58 +00:00
precondition
8e9ee29fe3
Remove duplicate COMBINING HORN in keymap_us_extended.h (#18045) 2022-08-14 22:25:37 -07:00
QMK Bot
346e044572 Merge remote-tracking branch 'origin/develop' into xap 2022-08-14 19:25:34 +00:00
Pascal Getreuer
95c43a2759
Fix Caps Word to treat mod-taps more consistently. (#17463)
* Fix Caps Word to treat mod-taps more consistently.

Previously, holding any mod-tap key while Caps Word is active stops Caps
Word, and this happens regardless of `caps_word_press_user()`. Yet for
regular mod keys, AltGr (KC_RALT) is ignored, Shift keys are passed to
`caps_word_press_user()` to determine whether to continue, and
similarly, a key `RSFT(KC_RALT)` representing Right Shift + Alt is
passed to `caps_word_press_user()` to determine whether to continue.

This commit makes held mod-tap keys consistent with regular mod keys:

* Holding a `RALT_T` mod-tap is ignored.
* When holding a shift mod-tap key, `KC_LSFT` or `KC_RSFT` is passed to
  `caps_word_press_user()` to determine whether to continue.
* When holding a Right Shift + Alt (`RSA_T`) mod-tap, `RSFT(KC_RALT)` is
  passed to `caps_word_press_user()`.

Particularly, with this fix a user may choose to continue Caps Word when
a shift mod-tap key is held by adding `KC_LSFT` and `KC_RSFT` cases in
`caps_word_press_user()`. For instance as

```
bool caps_word_press_user(uint16_t keycode) {
  switch (keycode) {
    // Keycodes that continue Caps Word, with shift applied.
    case KC_A ... KC_Z:
    case KC_MINS:
      add_weak_mods(MOD_BIT(KC_LSFT));  // Apply shift to the next key.
      return true;

    // Keycodes that continue Caps Word, without shifting.
    case KC_1 ... KC_0:
    case KC_BSPC:
    case KC_DEL:
    case KC_UNDS:
    case KC_LSFT:  // <<< Added here.
    case KC_RSFT:
      return true;

    default:
      return false;  // Deactivate Caps Word.
  }
}
```

* Fix Caps Word to treat mod-taps more consistently.

Previously, holding any mod-tap key while Caps Word is active stops Caps
Word, and this happens regardless of `caps_word_press_user()`. Yet for
regular mod keys, AltGr (KC_RALT) is ignored, Shift keys are passed to
`caps_word_press_user()` to determine whether to continue, and
similarly, a key `RSFT(KC_RALT)` representing Right Shift + Alt is
passed to `caps_word_press_user()` to determine whether to continue.

This commit makes held mod-tap keys consistent with regular mod keys:

* Holding a `RALT_T` mod-tap is ignored.
* When holding a shift mod-tap key, `KC_LSFT` or `KC_RSFT` is passed to
  `caps_word_press_user()` to determine whether to continue.
* When holding a Right Shift + Alt (`RSA_T`) mod-tap, `RSFT(KC_RALT)` is
  passed to `caps_word_press_user()`.

Particularly, with this fix a user may choose to continue Caps Word when
a shift mod-tap key is held by adding `KC_LSFT` and `KC_RSFT` cases in
`caps_word_press_user()`. For instance as

```
bool caps_word_press_user(uint16_t keycode) {
  switch (keycode) {
    // Keycodes that continue Caps Word, with shift applied.
    case KC_A ... KC_Z:
    case KC_MINS:
      add_weak_mods(MOD_BIT(KC_LSFT));  // Apply shift to the next key.
      return true;

    // Keycodes that continue Caps Word, without shifting.
    case KC_1 ... KC_0:
    case KC_BSPC:
    case KC_DEL:
    case KC_UNDS:
    case KC_LSFT:  // <<< Added here.
    case KC_RSFT:
      return true;

    default:
      return false;  // Deactivate Caps Word.
  }
}
```

* Update quantum/process_keycode/process_caps_word.c

Co-authored-by: Joel Challis <git@zvecr.com>
2022-08-14 20:25:32 +01:00
Chewxy
6fc7c03e95
Added emacs as an "operating system" for input mode. (#16949) 2022-08-14 20:24:52 +01:00
QMK Bot
5669ebdc7b Merge remote-tracking branch 'origin/develop' into xap 2022-08-14 16:19:22 +00:00
precondition
0a6327d20c
Replace ; by : in the shifted symbols ASCII art of keymap_norman (#18029)
Thanks!
2022-08-14 12:18:42 -04:00
QMK Bot
a7195760cb Merge remote-tracking branch 'origin/develop' into xap 2022-08-14 11:26:26 +00:00
Joel Challis
ba04ecfabd
Align TO() max layers with other keycodes (#17989) 2022-08-14 21:25:46 +10:00
QMK Bot
ec64146029 Merge remote-tracking branch 'origin/develop' into xap 2022-08-14 00:51:08 +00:00
precondition
2c3b447641
Use ANSI ASCII art and fix comments for LT_COLN and LT_UNDS in keymap_lithuanian_qwerty.h (#18028) 2022-08-13 17:50:32 -07:00
QMK Bot
0ba13394c3 Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 17:24:49 +00:00
precondition
96731ba88e
Fix LV_CCAR and LV_NCED (#18025) 2022-08-13 10:24:15 -07:00
QMK Bot
97d0764c8a Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 13:49:06 +00:00
Pascal Getreuer
6a0d90f81a
Fix Caps Word capitalization when used with Combos + Auto Shift. (#17549) 2022-08-13 23:48:51 +10:00
QMK Bot
6f840cd8b7 Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 13:40:07 +00:00
lokher
a02aff9c77
Add led matrix support for CKLED2001 (#17643) 2022-08-13 14:39:06 +01:00
QMK Bot
6c18334120 Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 02:21:16 +00:00
precondition
4ff39b5652
KR_DQUO S(KR_COLN) → KR_DQUO S(KR_QUOT) (#18011) 2022-08-12 19:20:58 -07:00
precondition
e3415d6b97
define CZ_PERC S(CZ_PLUS) → define CZ_PERC S(CZ_EQL) (#18008) 2022-08-12 19:20:35 -07:00
QMK Bot
3e3a08e623 Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 02:17:31 +00:00
precondition
20f0f40220
Remove invisible variation selector-15 from keymap_japanese.h (#18007) 2022-08-12 19:16:50 -07:00
QMK Bot
608c8baeef Merge remote-tracking branch 'origin/develop' into xap 2022-08-13 02:13:51 +00:00