Commit Graph

23335 Commits

Author SHA1 Message Date
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
Joel Challis
442e7653cc
Fix use of shifted custom keycode (#18978) 2022-11-06 23:48:31 +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
Ryan
5f9b7c035b
handwired/swiftrax/walter: fix layout mismatch (#18974)
* `handwired/swiftrax/walter`: fix layout mismatch

* Undo K4A removal, fix info.json instead
2022-11-06 18:42:59 +00:00
Drashna Jael're
d9e559a78e
Merge remote-tracking branch 'origin/master' into develop 2022-11-06 09:05:52 -08: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
Drashna Jaelre
e3a97eb1c8
[Keyboard] Add Work Louder Numpad (#18912)
* [Keyboard] Add Work Louder Numpad

* Add future proofing for rgb matrix

* Update readme

* fixup copyright headers

* Actually enable via
2022-11-05 17:55:42 +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
Joel Challis
a070c4c501
Remove hardcoded VIA keycode range (#18956) 2022-11-05 08:12:37 +00:00
Ryan
54682f961e
Fix "no matrix definition" errors for some boards (#18954) 2022-11-05 02:48:00 +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
Joel Challis
ea98aa8e5e
Reduce includes for dip_switch header (#18951) 2022-11-04 11:54:35 +00:00
Ryan
8213eb7fbb
Fix DD warnings for RGBKB boards (#18944) 2022-11-04 04:13:26 +00:00
Joel Challis
fb96b88842
Reduce includes for wpm header (#18949) 2022-11-04 00:50:59 +00:00
Joel Challis
1249f74b31
Reduce includes for caps_word header (#18948) 2022-11-03 23:42:58 +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
Joel Challis
3de296f420
Reduce includes for crc header (#18947) 2022-11-03 21:36:58 +00:00
Joel Challis
f11a247127
Reduce includes for sequencer header (#18946) 2022-11-03 20:44:36 +00:00
Ryan
40122c28e0
Resolve info.json/rules.mk feature conflicts in three boards (#18942) 2022-11-03 18:26:18 +00:00
Ryan
db2aa039f1
Remove more UNUSED_PINS defines (#18940) 2022-11-03 17:42:19 +00:00
Drashna Jaelre
7fe76e53c1
[Keyboard] Add hotdox76v2 support (#18680) 2022-11-03 17:40:56 +00:00
Joshua Diamond
5fb80562f1
Fix syntax error introduced in #18800 (#18933) 2022-11-01 21:34:31 +00:00
Joy Lee
9435ad19ee
Added analog support for WB32 MCU. (#18289)
Co-authored-by: Joy <chang.li@westberrytech.com>
2022-11-01 15:04:15 +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
Ryan
7ebc396876
compiler.txt: ensure file exists before comparison (#18921) 2022-11-01 00:35:38 +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
Joel Challis
96c48a5f4a
Refactor to avoid deprecated wmic execution (#18122)
* wmic deprecated?

* Update platforms/avr/flash.mk

* Update platforms/avr/flash.mk
2022-10-31 20:16:43 +00:00
Max Rumpf
a45607f4e6
Phoebe: Add key to print screen (#18856) 2022-10-31 11:03:14 -07:00
James Young
1183704578
Star75 Refactor (#18885) 2022-10-31 11:02:49 -07:00
QMK Bot
743524df32 Merge remote-tracking branch 'origin/master' into develop 2022-10-31 01:57:58 +00:00
Anton Chernenko
652b10e6a7
[Keyboard] Add Hubble keyboard (#18718)
Co-authored-by: Anton Chernenko <anton.chernenko@chaintrust.it>
2022-10-30 18:57:23 -07:00
Ryan
594dcbf66c
Properly fix elephant42 (#18908) 2022-10-30 15:34:24 +00:00
QMK Bot
56986e928b Merge remote-tracking branch 'origin/master' into develop 2022-10-30 05:26:59 +00:00
Joel Challis
ac4b3fd1e9
Remove duplicate key in novelkeys/nk65b (#18907) 2022-10-30 05:26:23 +00:00
Joel Challis
c63e2e378d
Revert "mcp23018: add return status to init (#18178)" (#18709)
This reverts commit 3fffa51554.
2022-10-29 22:33:47 +01:00
QMK Bot
c78dc85a1a Merge remote-tracking branch 'origin/master' into develop 2022-10-29 20:49:16 +00:00
mechlovin
078a511394
[Keyboard] Update Kay65 LED state (#18895) 2022-10-29 13:48:45 -07:00
fauxpark
9d717c85dc Merge remote-tracking branch 'upstream/master' into develop 2022-10-29 16:54:14 +11:00
Andrew Kannan
e90ff84c31
Add indicator LEDs to hoodrow G PCB (#18888) 2022-10-29 00:55:18 +01:00
Toshihiro Suzuki
bb97a78d3e
[Keymap] toshi0383 keymaps update (#18760)
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-10-28 12:49:52 -07:00
Alabahuy
bc502348c3
[Keyboard] Add Encoder map support for rart (#18851) 2022-10-28 12:49:01 -07:00
Danny
e31fa77e9b
[Keyboard] Add Sinc Rev 1&2 Encoder Map Support (#18861) 2022-10-28 12:27:38 -07: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
Ryan
2ff1d85290
Normalise Autocorrect keycodes (#18893) 2022-10-28 12:21:24 +01:00