Ryan
47966dc2a6
Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
( #20303 )
2023-04-06 18:00:54 +10:00
Stefan Kerkmann
73b376a881
[Chore] Remove stray mod tap interrupt defines and per key functions ( #20347 )
...
* Remove stray defines and per key functions
* Remove defunct get_ignore_mod_tap_interrupt declaration
2023-04-06 00:04:23 +01:00
Ryan
8bb4cba7b0
Move TKL layouts to data driven ( #20337 )
2023-04-05 15:53:45 +10:00
Ryan
09a2b70a66
Move Alice and Ergodox layouts to data driven ( #20340 )
2023-04-05 15:50:56 +10:00
Ryan
364c06d939
Move small macropad-ish layouts to data driven ( #20341 )
2023-04-05 15:46:59 +10:00
Ryan
7bfc2a367d
Move 65% layouts to data driven ( #20308 )
2023-04-04 15:20:10 +10:00
Ryan
976317df3c
Move fullsize layouts to data driven ( #20317 )
2023-04-04 14:39:20 +10:00
Ryan
b463ceb9dc
Move TKL F13 and FRL layouts to data driven ( #20310 )
2023-04-04 14:29:50 +10:00
jack
36ab0c0aaa
Add core/fallback encoder behaviour ( #20320 )
2023-04-03 10:18:17 -06:00
Ryan
2d9140af53
Fix a handful of CLI errors ( #20321 )
2023-04-03 15:50:31 +10:00
precondition
1899793f27
Make IGNORE_MOD_TAP_INTERRUPT the default behaviour for mod-taps ( #20211 )
2023-04-03 15:32:47 +10:00
fauxpark
bc77e79ed8
Merge remote-tracking branch 'upstream/master' into develop
2023-04-03 14:41:26 +10:00
Sergey Vlasov
2d7240f730
onekey: Fix console output on AVR ( #19930 )
2023-04-03 14:28:12 +10:00
Johannes H. Jensen
68efea70b2
Add direction to dynamic_macro_record_start_user ( #19689 )
2023-04-03 13:01:07 +10:00
QMK Bot
3ec37f4d55
Merge remote-tracking branch 'origin/master' into develop
2023-04-03 00:07:20 +00:00
andi4000
ac9f9f9efb
ISO-DE Keymap for Dactyl Manuform 6x7 ( #19441 )
2023-04-03 10:06:40 +10:00
Ryan
9359504255
Move 66% and 68% layouts to data driven ( #20293 )
2023-04-01 13:13:18 +11:00
Ryan
e40b6ca3b0
Move split layouts to data driven ( #20290 )
2023-04-01 13:09:53 +11:00
Ryan
647c2835e6
WS2812 driver improvements ( #20262 )
2023-03-30 12:21:02 +11:00
Nick Brassel
836ffabc3d
Merge remote-tracking branch 'upstream/master' into develop
2023-03-30 08:37:24 +11:00
Maverick0197
d0c36a7683
[Keyboard] Add KeyDeck8 ( #20107 )
...
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-03-29 13:13:05 -07:00
Ryan
4869b8061c
Move ortho & numpad layouts to data driven ( #20183 )
...
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-29 15:54:34 +11:00
Ryan
06664e8a94
Fix layouts containing keys with multiple matrix positions ( #20191 )
2023-03-29 15:47:59 +11:00
Joel Challis
79b0f9168e
Custom keycodes in JSON ( #19925 )
2023-03-27 20:01:07 +01:00
Ryan
36ce81df59
Move WS2812_DRIVER
to data driven ( #20248 )
2023-03-26 18:22:12 +11:00
Ryan
1e07ff1fb1
Fix some more missing #pragma once
s ( #20241 )
2023-03-23 17:21:37 +00:00
Ryan
ad625e7c06
Remove RGB_DI_PIN
ifdefs ( #20218 )
2023-03-23 21:38:01 +11:00
Drashna Jael're
73f4718f16
Merge remote-tracking branch 'origin/master' into develop
2023-03-23 01:41:42 -07:00
jotix
8cd78b392f
[Keyboard] Add via support for jotanck keyboard ( #20146 )
...
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-03-22 21:38:35 -07:00
Ryan
65a80f411f
Clean up APA102 config and add DD mapping ( #20159 )
2023-03-20 08:12:19 +11:00
Nick Brassel
9d302f9b7f
Fixup CI build for F103C6 onekey. ( #20188 )
2023-03-19 20:33:21 +00:00
Ryan
d8aec71e48
Remove trailing zeroes in info.json layouts ( #20156 )
2023-03-17 14:21:53 +00:00
Ryan
02ccc50e60
Remove more empty headers ( #20155 )
2023-03-17 14:02:04 +11:00
Ryan
9dbee3e23d
Remove useless "ifdef KEYBOARD_*" ( #20078 )
...
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-16 20:18:33 +11:00
Ryan
cf5e9d172d
Fix layout macro keys with no matrix position ( #20033 )
2023-03-13 23:02:03 +11:00
Ryan
9e2ef5078a
Adjust offset for some layouts ( #20075 )
2023-03-13 22:22:20 +11:00
Ryan
20dca46924
Remove pointless USE_I2C
blocks in keyboard headers ( #20084 )
2023-03-10 16:00:30 +00:00
Ryan
76cc7fe109
Move matrix config to info.json, part 6 ( #20019 )
2023-03-11 00:32:05 +11:00
QMK Bot
961f2d503f
Merge remote-tracking branch 'origin/master' into develop
2023-03-10 09:21:48 +00:00
Kuribayashi Atsushi
24bf0dfb37
[Keyboard] Add tsubasa keyboard ( #19352 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2023-03-10 01:20:37 -08:00
QMK Bot
3b67310bef
Merge remote-tracking branch 'origin/master' into develop
2023-03-10 07:53:16 +00:00
Paul Enrico N. Viola
3b89fb61e8
[Keyboard] update matrix pins for Polly40 ( #20002 )
2023-03-09 23:52:36 -08:00
Joel Challis
5edf41da60
Remove empty rules.mk from keymaps ( #20056 )
2023-03-08 03:34:41 +00:00
QMK Bot
725a9f66e3
Merge remote-tracking branch 'origin/master' into develop
2023-03-06 19:39:51 +00:00
Dmitry Nosachev
c8237a7691
[Keyboard] Sejin EAT-1010R2 keyboard ( #19809 )
...
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2023-03-06 11:39:13 -08:00
Joel Challis
3be5d90b6d
Remove some use of keymap.h ( #20006 )
2023-03-03 17:50:40 +00:00
QMK Bot
c9b49cd83b
Merge remote-tracking branch 'origin/master' into develop
2023-03-01 17:06:15 +00:00
Paul Enrico N. Viola
aeb3ed64c3
added Polly40 keyboard ( #19936 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2023-03-01 10:05:36 -07:00
QMK Bot
184c1e5187
Merge remote-tracking branch 'origin/master' into develop
2023-02-28 19:15:33 +00:00
Drashna Jaelre
051401175d
[Keymap] Drashna updates for 0.20.0 ( #19960 )
2023-02-28 11:14:48 -08:00
Ryan
7a8265247b
Remove "w":1
and "h":1
from info.json ( #19961 )
2023-02-28 15:06:11 +00:00
Ryan
7e0299117b
Move encoder config to data driven ( #19923 )
...
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-02-26 09:45:12 +11:00
Ryan
314f6c1ddb
Move backlight config to data driven ( #19910 )
2023-02-26 08:37:57 +11:00
Joel Challis
961f0b7b2d
Reallocate SAFE_RANGE ( #19909 )
2023-02-23 09:49:07 +11:00
Ryan
ea77246865
Migrate some more layouts to data driven ( #19889 )
2023-02-23 09:32:18 +11:00
Ryan
3bf01bb9ed
Move QMK LUFA bootloader config to data driven ( #19879 )
2023-02-23 09:20:23 +11:00
Nick Brassel
7f805cc779
VIA Protocol 12 + fixes ( #19916 )
...
Co-authored-by: Wilba <wilba@wilba.tech>
Co-authored-by: zvecr <git@zvecr.com>
2023-02-23 09:19:00 +11:00
Ryan
26854f5940
Remove default and unused BACKLIGHT_LEVELS
( #19898 )
2023-02-22 01:12:42 +00:00
Ryan
499fc3b85e
Add some missing #pragma once
s ( #19902 )
2023-02-21 15:55:23 +00:00
Ryan
9c0ce80d7e
Move backlight config to data driven, part 1 ( #19887 )
2023-02-21 12:05:40 +11:00
Ryan
e837a32b2b
Move layouts for direct_pins boards to data driven ( #19872 )
2023-02-19 18:55:12 +11:00
Ryan
86885ecbcc
Fix more build failures ( #19869 )
2023-02-18 02:21:00 +11:00
Ryan
8f6c228adb
Move SOFT_SERIAL_PIN
to data driven ( #19863 )
2023-02-17 16:40:49 +11:00
Ryan
2da0827d4f
Remove matrix size defines ( #19581 )
2023-02-17 16:08:25 +11:00
Ryan
f4ba17c4a0
Move LED indicator config to data driven ( #19800 )
2023-02-17 13:14:29 +11:00
Ryan
d784f78bd0
Move Bootmagic config to data driven ( #19860 )
2023-02-17 08:49:49 +11:00
Ryan
7fad94ba2d
Remove unused RGBLight defines from config.h ( #19859 )
2023-02-17 08:13:41 +11:00
Ryan
2cdf99ae95
Migrate DIRECT_PINS
to data driven ( #19826 )
2023-02-14 00:39:41 -07:00
Dasky
74770ac79b
Merge branch 'master' into develop
2023-02-14 03:05:44 +00:00
jack
ef881364d4
Fixup swiftrax/bumblebee (reduce firmware size) ( #19834 )
2023-02-13 17:11:43 +11:00
Ryan
bbf7a20b33
Refactor Leader key feature ( #19632 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-02-13 03:19:02 +11:00
Joel Challis
11d49d00e7
Remove matrix_init_quantum/matrix_scan_quantum ( #19806 )
2023-02-11 03:47:17 +00:00
QMK Bot
61009c506b
Merge remote-tracking branch 'origin/master' into develop
2023-02-10 17:29:34 +00:00
kpagratis
b444e82985
[Keyboard] Add Dactyl 6x5 68 keys ( #18679 )
2023-02-10 10:28:39 -07:00
Ryan
ccb6c908dd
Remove SOFT_SERIAL_PIN
for non-split boards ( #19774 )
...
* Remove `SOFT_SERIAL_PIN` for non-split boards
* Delete more empty config.h
2023-02-08 23:57:42 +00:00
Ryan
f9aeea64c1
Migrate MCU
and BOOTLOADER
to data-driven ( #19529 )
2023-02-08 18:41:46 +11:00
Ryan
8d6bf19fc7
Remove unused SOFT_SERIAL_PIN
from config.h ( #19768 )
2023-02-07 14:46:51 +00:00
Ryan
11b6bb8179
Remove unused Bootmagic row/col defines from config.h ( #19761 )
2023-02-07 00:05:37 +00:00
Ryan
a988f8a169
Remove unused GRAVE_ESC_CTRL_OVERRIDE
from config.h ( #19752 )
2023-02-06 02:40:23 +00:00
Ryan
f0618a1d53
Remove IS_HOST_LED_ON
and migrate usages ( #19753 )
2023-02-06 02:36:09 +00:00
Ryan
53b7dbe671
Remove unused LOCKING_SUPPORT_ENABLE
from config.h ( #19748 )
2023-02-05 20:26:45 +00:00
Ryan
ebb512db82
Debounce defines cleanup ( #19742 )
...
* Clean up `DEBOUNCE` in config.h, 0-9
* Clean up `DEBOUNCE` in config.h, A
* Clean up `DEBOUNCE` in config.h, B
* Clean up `DEBOUNCE` in config.h, C
* Clean up `DEBOUNCE` in config.h, D
* Clean up `DEBOUNCE` in config.h, E
* Clean up `DEBOUNCE` in config.h, F
* Clean up `DEBOUNCE` in config.h, G
* Clean up `DEBOUNCE` in config.h, H
* Clean up `DEBOUNCE` in config.h, handwired
* Clean up `DEBOUNCE` in config.h, I
* Clean up `DEBOUNCE` in config.h, J
* Clean up `DEBOUNCE` in config.h, K
* Clean up `DEBOUNCE` in config.h, L
* Clean up `DEBOUNCE` in config.h, M
* Clean up `DEBOUNCE` in config.h, N
* Clean up `DEBOUNCE` in config.h, O
* Clean up `DEBOUNCE` in config.h, P
* Clean up `DEBOUNCE` in config.h, Q
* Clean up `DEBOUNCE` in config.h, R
* Clean up `DEBOUNCE` in config.h, S
* Clean up `DEBOUNCE` in config.h, T
* Clean up `DEBOUNCE` in config.h, U
* Clean up `DEBOUNCE` in config.h, V
* Clean up `DEBOUNCE` in config.h, W
* Clean up `DEBOUNCE` in config.h, X
* Clean up `DEBOUNCE` in config.h, Y
* Clean up `DEBOUNCE` in config.h, Z
* Remove default debounce from info.json
* Migrate non-default debounce to info.json
2023-02-03 19:19:58 +00:00
Ryan
f20a05440e
Remove unused MATRIX_HAS_GHOST
from config.h ( #19726 )
2023-02-03 00:04:10 +00:00
QMK Bot
1c772eb618
Merge remote-tracking branch 'origin/master' into develop
2023-02-01 17:27:17 +00:00
a_marmot
ca8b4b8e30
[Keyboard] Add modded Razer Orbweaver with RP2040 ( #19711 )
...
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-02-01 10:26:37 -07:00
Ryan
b867522f8c
Clean up Force NKRO in config.h ( #19718 )
2023-01-30 20:45:41 +00:00
Nick Brassel
f6dd8dea2e
Remove usages of config_common.h from config.h files. ( #19714 )
2023-01-31 06:03:30 +11:00
fauxpark
ef6505ad75
Merge remote-tracking branch 'upstream/master' into develop
2023-01-30 18:55:36 +11:00
Ryan
043d8e1140
Remove deprecated Quantum keycodes ( #19712 )
2023-01-29 16:44:16 +00:00
Ryan
b727434391
Remove commented out backlight config & stray "backlight levels" ( #19703 )
2023-01-28 15:42:44 +00:00
AnotherStranger
6e42b58549
VIA keymap for the dactyl manuform 4x6 ( #19668 )
...
Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-01-26 14:14:34 -07:00
jack
dd7b244872
Fixup handwired/jscotto/scotto40 ( #19675 )
2023-01-23 23:24:56 -07:00
QMK Bot
0a51ea28fa
Merge remote-tracking branch 'origin/master' into develop
2023-01-23 09:39:16 +00:00
Joe Scotto
9c7490d7cb
[Keyboard] Add Scotto40 Keyboard ( #18453 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2023-01-23 01:38:22 -08:00
Ryan
cf935d97ae
Fix functions with empty params ( #19647 )
...
* Fix functions with empty params
* Found a bunch more
2023-01-20 16:21:17 +00:00
QMK Bot
c6d7f61e79
Merge remote-tracking branch 'origin/master' into develop
2023-01-20 02:37:07 +00:00
Joel Challis
f2ad3ba7c3
Refactor some layouts which contain keyboard name ( #19643 )
2023-01-20 02:36:30 +00:00
QMK Bot
3723c0e3d5
Merge remote-tracking branch 'origin/master' into develop
2023-01-19 01:06:08 +00:00
Nick Brassel
327f7ee9a7
Fixup ChibiOS header inclusion search ordering. ( #19623 )
...
* Add STM32F446-Nucleo onekey.
* Fixup onekey build for F446, all keymaps.
* Fixup board inclusion search ordering.
2023-01-19 01:05:29 +00:00
Sergey Vlasov
272281f1a0
Add analog support for RP2040 ( #19453 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-01-19 10:30:58 +11:00
Joel Challis
0730740add
Add mmoskal/uf2-stm32f103 bootloader support ( #19594 )
2023-01-15 15:04:32 +00:00
QMK Bot
d40516c3c7
Merge remote-tracking branch 'origin/master' into develop
2023-01-15 03:58:42 +00:00
jurassic73
e7d1b210ba
[Keyboard] Update handwired/split89 to new standard. ( #19540 )
...
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2023-01-14 19:58:09 -08:00
QMK Bot
867f2fb280
Merge remote-tracking branch 'origin/master' into develop
2023-01-13 11:04:54 +00:00
Jens Peter Secher
0de7ccedac
[Keyboard] Acacia keyboard ( #19532 )
2023-01-13 03:04:16 -08:00
QMK Bot
e57d703d50
Merge remote-tracking branch 'origin/master' into develop
2023-01-12 11:30:07 +00:00
Tom Barnes
0cff636739
weact docs patch re "security vulnerability" ( #19572 )
2023-01-12 22:29:25 +11:00
QMK Bot
64dea51094
Merge remote-tracking branch 'origin/master' into develop
2023-01-10 06:39:27 +00:00
Filip Paryż
4d83583410
[Keymap] Updated Freoduo keymap ( #19351 )
2023-01-09 22:38:54 -08:00
Ryan
56555c61e1
Migrate LAYOUTS
to data driven ( #19541 )
...
* Migrate `LAYOUTS` to data driven, 0-9
* Migrate `LAYOUTS` to data driven, A
* Migrate `LAYOUTS` to data driven, B
* Migrate `LAYOUTS` to data driven, C
* Migrate `LAYOUTS` to data driven, D
* Migrate `LAYOUTS` to data driven, E
* Migrate `LAYOUTS` to data driven, F
* Migrate `LAYOUTS` to data driven, G
* Migrate `LAYOUTS` to data driven, H
* Migrate `LAYOUTS` to data driven, handwired
* Migrate `LAYOUTS` to data driven, I
* Migrate `LAYOUTS` to data driven, J
* Migrate `LAYOUTS` to data driven, K
* Migrate `LAYOUTS` to data driven, L
* Migrate `LAYOUTS` to data driven, M
* Migrate `LAYOUTS` to data driven, N
* Migrate `LAYOUTS` to data driven, O
* Migrate `LAYOUTS` to data driven, P
* Migrate `LAYOUTS` to data driven, Q
* Migrate `LAYOUTS` to data driven, R
* Migrate `LAYOUTS` to data driven, S
* Migrate `LAYOUTS` to data driven, T
* Migrate `LAYOUTS` to data driven, U
* Migrate `LAYOUTS` to data driven, V
* Migrate `LAYOUTS` to data driven, W
* Migrate `LAYOUTS` to data driven, X
* Migrate `LAYOUTS` to data driven, Y
* Migrate `LAYOUTS` to data driven, Z
2023-01-10 02:48:20 +00:00
QMK Bot
cf55032485
Merge remote-tracking branch 'origin/master' into develop
2023-01-08 15:27:43 +00:00
Joel Challis
1c024bfa91
Add some missing layout data ( #19539 )
2023-01-08 15:26:37 +00:00
Joel Challis
974a1eaf2a
Ignore defaults.hjson values if already set ( #19511 )
...
* Ignore defaults.hjson values if already set
* Add warning when nothing is merged
2023-01-07 17:05:53 +00:00
QMK Bot
403c7eeb5c
Merge remote-tracking branch 'origin/master' into develop
2023-01-07 17:03:18 +00:00
Joel Challis
c5e3275299
Fix handwired/onekey/kb2040
WS2812 pin ( #19517 )
2023-01-07 17:02:40 +00:00
Joel Challis
d0ebafaea6
Align definition of unicode_map ( #19452 )
2023-01-01 11:54:12 +11:00
Ryan
801d2ff940
Remove useless line continuations ( #19399 )
2022-12-30 11:48:05 +11:00
Ryan
1978007fae
Tap Dance: remove qk_
prefix ( #19313 )
2022-12-14 12:40:25 -08:00
precondition
515dd18c28
Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of HOLD_ON_OTHER_KEY_PRESS_PER_KEY ( #15741 )
2022-12-13 22:20:07 +11:00
jpe230
102f22f7e9
[Core] Quantum Painter - LVGL Integration ( #18499 )
...
Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-12-13 07:51:14 +11:00
Albert Y
cbabc8dbe6
[Core] Replace Tapping Force Hold feature with Quick Tap Term ( #17007 )
...
* Replace Tapping Force Hold feature with Quick Tap Term
* Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0
* Deprecate force hold in info_config.json
* Before and after quick tap term unit tests
* Quick tap unit tests iteration
* Keymap config.h correction
* Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed
* Add two more test cases for quick tap
* Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2
* Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2
* Add function declaration for get_quick_tap_term
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-12-12 16:52:22 +01:00
Stefan Kerkmann
9dc3f79196
[RP2040] update i2c drivers to reflect peripheral number ( #19277 )
2022-12-11 14:04:29 +01:00
Wolf Van Herreweghe
aa06a6e094
Minor lint fixes for various info.json ( #19275 )
2022-12-09 04:23:24 +00:00
QMK Bot
43870190af
Merge remote-tracking branch 'origin/master' into develop
2022-12-09 03:33:24 +00:00
Joel Challis
89fdafc27d
Refactor use of led_set_user within handwired/prime_exl ( #19274 )
2022-12-09 03:32:47 +00:00
QMK Bot
57bf060198
Merge remote-tracking branch 'origin/master' into develop
2022-12-09 01:43:01 +00:00
Joel Challis
99cd0b13e1
Refactor some led_set_kb instances ( #19179 )
...
* Refactor some led_set_kb instances
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-12-09 01:42:22 +00:00
QMK Bot
29e0d440c3
Merge remote-tracking branch 'origin/master' into develop
2022-12-08 17:15:43 +00:00
James Young
f4a4d841e5
Dactyl Manuform 4x5_5 Configurator Rendering Update ( #18313 )
2022-12-09 04:15:09 +11:00
Wolf Van Herreweghe
c6e291c416
Revert RESET-> QK_BOOT in Read Me files where applicable ( #19262 )
2022-12-09 03:12:49 +11:00
David Kühling
2f92880578
dqz11n1g: Documentation improvement. ( #19230 )
...
Co-authored-by: David <dvdkhlng@posteo.de>
2022-12-04 20:43:28 +00:00
Nick Brassel
cf3c26533c
Fixup EFL and F4's sector selection. ( #19221 )
2022-12-02 21:55:28 +11:00
Commander1024
402d3d8a86
[Keyboard] Daskeyboard4 ( #18675 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-30 11:20:45 -08:00
Drashna Jaelre
4a87af0e9a
[Keymap] Drashna updates for 0.19 ( #19175 )
...
* Fix up bastardkb boards since blackpill support is officially added.
* Check for blackpill version, not elite c.
* Add checks in chibiOS config since multiple ARM controllers supported.
* Rework rules.mk for keymaps to better handle arm vs avr support
* Start moving away from `matrix_*_*` functions.
* `housekeeping_task_*` instead of `matrix_scan_*`
* `keyboard_(pre|post)_init_*` instead of `matrix_init_*`
* Add ℂℴmⅈℂ unicode input method.
* Clean up unicode code to be more compact and flexible.
* Remove/move Pro Micro LED commands to userspace and better filter them
* Fixup OLED code
* Use newer quantum keycode functions/preprocessors rather than manual bit manipulation
* Make unicode mode render much more compact/simple.
* Make qmk secrets more self contained
* Remove custom implementation of split watchdog
2022-11-29 11:43:42 -08:00
Joel Challis
0ab03f8fbc
Fix API errors in handwired/tractyl_manuform/5x6_right/arduinomicro ( #19166 )
2022-11-27 02:07:07 +00:00
Ryan
e12ca14af8
Change RGB_MATRIX_STARTUP_*
defines to RGB_MATRIX_DEFAULT_*
( #19079 )
2022-11-27 04:18:24 +11:00
Ryan
1e95f7be8f
Joystick feature improvements ( #19052 )
2022-11-27 03:14:45 +11:00
Joel Challis
59443fa970
jsonify some info.json ( #19146 )
2022-11-25 02:47:02 +00:00
Joel Challis
3b11e98215
Update use of legacy keycodes ( #19120 )
2022-11-22 22:07:47 +11:00
Joel Challis
fe577daf96
Remove .noci functionality ( #19122 )
2022-11-21 02:03:38 +00:00
Drashna Jael're
4597e01061
Merge remote-tracking branch 'origin/master' into develop
2022-11-20 09:20:46 -08:00
mmccoyd
543a863766
[Keyboard] Move Hillside out of handwired ( #18751 )
...
Co-authored-by: mmccoyd <mmccoyd@cs.berkley.edu>
2022-11-20 00:50:09 -08:00
bwprobably
0420a74d4c
[Keyboard] Add hardwired Dactyl macropad ( #18761 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-20 00:27:10 -08:00
QMK Bot
7357426bc3
Merge remote-tracking branch 'origin/master' into develop
2022-11-20 08:24:43 +00:00
Joe Scotto
f0454c9682
[Keyboard] Add ScottoStarter Keyboard ( #18626 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-20 00:24:11 -08:00
QMK Bot
8449a4a11f
Merge remote-tracking branch 'origin/master' into develop
2022-11-18 02:17:25 +00:00
Joel Challis
5d882ab6ef
Disable onekey console by default ( #19104 )
2022-11-18 02:16:38 +00:00
Ryan
de66797705
Fix some old keycodes ( #19086 )
2022-11-15 16:52:01 +00:00
jack
05540eb668
Fixup handwired/alcor_dactyl ( #19072 )
2022-11-14 15:44:07 +00:00
jack
a30964b3c5
Add missing manufacturer
fields ( #19065 )
2022-11-14 09:40:51 +11:00
Drashna Jael're
731633e133
Merge remote-tracking branch 'origin/master' into develop
2022-11-12 17:10:04 -08:00
fgoodwin
f3ea6591db
[Keyboard] Add Dactyl Manuform 5x6 with 6 thumb cluster ( #18845 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-12 17:01:38 -08:00
Ethan Johnston
cd682ad8b7
[Keyboard] Add Handwired alcor dactyl ( #18586 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-12 16:58:56 -08:00
Ryan
6cc9513ab0
Digitizer feature improvements ( #19034 )
2022-11-12 23:28:11 +00:00
Ryan
8cecf7fad8
onekey: disable NKRO and mousekeys by default ( #19038 )
2022-11-12 03:20:44 +00:00
Ryan
20ed138236
LED config fixes ( #18973 )
2022-11-11 12:15:19 +11:00
Ryan
b567622d59
handwired/swiftrax/cowfish
: fix layouts (#18984 )
2022-11-09 06:11:09 +11:00
Ryan
d810878d5e
Normalise output selection (Bluetooth) keycodes ( #19004 )
2022-11-08 19:03:31 +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
Nick Brassel
219afaba42
Reworked backlight keycodes. ( #18961 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-06 08:11:59 +11:00
Nick Brassel
4d33f356a6
Macro keycode name refactoring ( #18958 )
2022-11-05 23:22:11 +11:00
Ryan
54682f961e
Fix "no matrix definition" errors for some boards ( #18954 )
2022-11-05 02:48:00 +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
Ryan
40122c28e0
Resolve info.json/rules.mk feature conflicts in three boards ( #18942 )
2022-11-03 18:26:18 +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
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
fauxpark
9d717c85dc
Merge remote-tracking branch 'upstream/master' into develop
2022-10-29 16:54:14 +11: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
Ryan
90f6b75873
Remove KC_DELT
( #18882 )
2022-10-27 19:33:38 +01:00
Stefan Kerkmann
19145704e4
[Core] Adjust PWM hardware audio driver for RP2040 ( #17723 )
2022-10-27 19:26:16 +02:00
Manna Harbour
d8183c5249
[Keymap] Update Miryoku ( #18773 )
...
* [miryoku] Revert "[Keymap] manna-harbour_miryoku RESET to QK_BOOT (#18755 )"
This reverts commit 89dbc18161
.
* [miryoku] Add keyboardio/model01
* [miryoku] Add handwired/dactyl_manuform/4x6
* [miryoku] Update BT keycodes
- Update BT keycodes on Media inner index:
- Move OUT_AUTO to bottom row
- Move RGB_TOG in vi to pinkie column to match other TOG keycodes, and rotate row
* [miryoku] Add Extra and Tap layers
* [miryoku] Rename config workflow option to custom_config
* [miryoku] Update custom_config.h and custom_rules.mk behaviour
* [miryoku] Make mapping macro customisable globally and per layer
* [miryoku] Add layer lock
* [miryoku] Update RGB order in media-l-invertedt
* [miryoku] Change mouse button order
* [miryoku] Change to X macros for layer list
- Supports adding and removing layers from custom_config.h
- Add "U_" prefix to layer names
- Add layer name strings
- Populate keymaps array from X macro
- Populate layers enum from X macro
- Move layers enum to manna-harbour_miryoku.h
- Rename miryoku_alternatives.h to miryoku_layer_alternatives.h
- Rename miryoku_layer.h to miryoku_layer_selection.h
- Remove miryoku_layer_names.h
- Add miryoku_layer_list.h
* [miryoku] Reformat split_3x6_3 mapping
* [miryoku] Add merge field to workflows
* [miryoku] Update thumb combos with new layer names
* [miryoku] Update cover image
* [miryoku] Add satt/vision
* [miryoku] Update Branches and Building docs
* [miryoku] Update reset keycode
* [miryoku] Add xmk
* [miryoku] Add boardsource/lulu
* [miryoku] Fix keyboardio/model01
2022-10-27 13:50:32 +01:00
Ryan
002b58f0e4
Normalise Space Cadet keycodes ( #18864 )
2022-10-27 11:19:16 +01:00
Ryan
a80b886751
Deprecate CAPS_WORD
/CAPSWRD
for CW_TOGG
( #18834 )
2022-10-24 17:30:37 +01:00
Ryan
6bbe8b6edd
Normalise Joystick and Programmable Button keycodes ( #18832 )
2022-10-24 15:50:33 +01:00
Ryan
74484e21af
Deprecate VLK_TOG
for VK_TOGG
( #18807 )
2022-10-22 21:45:20 +01:00
Ryan
7cbff9d921
Deprecate KC_LOCK
for QK_LOCK
( #18796 )
2022-10-21 15:46:10 +01:00
Ryan
b33fc34967
Deprecate KC_LEAD
for QK_LEAD
( #18792 )
2022-10-21 14:25:54 +01:00
Ryan
1cb1a5a374
Remove legacy Grave Escape keycodes ( #18787 )
2022-10-20 18:04:11 -07:00
Ryan
a7d6643e3d
Fix build failures uncovered by #18753 ( #18789 )
2022-10-21 07:28:18 +11: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
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
ae3825a3bc
Merge remote-tracking branch 'origin/master' into develop
2022-10-17 16:14:23 +00:00
jack
5fdb49b5db
Fixup handwired/kbod ( #18754 )
2022-10-17 17:13:40 +01:00
Ryan
bad8c5992b
Remove legacy sendstring keycodes ( #18749 )
2022-10-17 13:45:23 +01: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
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
3fe9fbf950
Merge remote-tracking branch 'origin/master' into develop
2022-10-15 21:23:33 +00:00
Reibl János Dániel
ccdd28930a
fix: Remove OLED support ( #18719 )
...
* fix: Remove OLED support
* redundant files
Co-authored-by: zvecr <git@zvecr.com>
2022-10-15 22:22:59 +01:00
Drashna Jaelre
55b9a4d06e
Remove RGBLIGHT_ANIMATION and clean up effect defines for G-K ( #18726 )
2022-10-15 09:55:27 -07: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
Joel Challis
a9e5e23063
Remove keymaps that still reference legacy macros ( #18693 )
2022-10-13 14:17:20 +11:00
jack
cd5b2e84f5
Fixup handwired/jopr — remove deprecated keycode ( #18668 )
2022-10-13 10:18:33 +11:00
QMK Bot
2acba48623
Merge remote-tracking branch 'origin/master' into develop
2022-10-12 12:20:57 +00:00
Alex Ong
edef8d2a84
Remove xealousbrown keyboard ( #18658 )
...
Co-authored-by: alexo <alex-ong>
2022-10-12 13:20:16 +01: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
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
jack
219c18703e
twig50 - Remove deprecated keycodes ( #18651 )
2022-10-09 20:53:27 +01:00
Ryan
4b2d71de52
Remove legacy international keycodes ( #18588 )
2022-10-09 14:51:09 +11:00
QMK Bot
111dcdf713
Merge remote-tracking branch 'origin/master' into develop
2022-10-07 08:09:15 +00:00
jack
de2c81d5b2
Remove all BACKLIGHT_LEVELS 0
( #18630 )
2022-10-07 09:07:56 +01:00
QMK Bot
dd7673f3a7
Merge remote-tracking branch 'origin/master' into develop
2022-10-05 01:40:52 +00:00
nodatk
3f63bbc7d8
[Keyboard] Twig50 ( #18085 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-10-04 18:40:18 -07:00
Ryan
4d6fab1cfa
onekey: Enable ADC for STM32F072 Discovery ( #18592 )
2022-10-05 11:36:20 +11: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
Stefan Kerkmann
996a9006d3
[Core] PWM Backlight for RP2040 ( #17706 )
2022-10-04 23:10:24 +02:00
QMK Bot
f81123469e
Merge remote-tracking branch 'origin/master' into develop
2022-10-01 02:55:17 +00:00
Ryan
9f0d9b4fbe
onekey: fix quine keymap ( #18555 )
2022-10-01 12:54:42 +10:00
QMK Bot
01f5a5ffcd
Merge remote-tracking branch 'origin/master' into develop
2022-09-30 20:08:44 +00:00
Pascal J
3b95f97a19
[Keyboard] handwired/tractyl_manuform: Arduino Micro ( #17199 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-09-30 13:08:10 -07:00
Ryan
e0115caab9
onekey: enable ADC for Bluepill and Blackpill ( #18545 )
2022-09-30 17:14:41 +01:00
QMK Bot
1f26ec0064
Merge remote-tracking branch 'origin/master' into develop
2022-09-30 03:44:55 +00:00
Joseph Fass
83776b44b3
[Keyboard] Add handwired tkk diodeless keyboard ( #18379 )
...
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-09-29 20:44:25 -07:00
Johannes Löthberg
d412dc61ee
Remove remaining use of terminal keys and related comment labels ( #18402 )
2022-09-29 20:42:42 -07:00
QMK Bot
307173d928
Merge remote-tracking branch 'origin/master' into develop
2022-09-29 20:33:01 +00:00
Joe Scotto
43e57ab777
[Keyboard] Add ScottoCMD Keyboard ( #18520 )
2022-09-29 13:32:27 -07:00
fauxpark
dbb70871fc
Merge remote-tracking branch 'upstream/master' into develop
2022-09-30 05:19:53 +10:00
Ryan
45b5ed5c6e
Onekey: migrate some stuff to data driven ( #18502 )
2022-09-30 04:23:11 +10:00
Joshua Diamond
d2e5e64990
Merge remote-tracking branch 'origin/master' into develop
2022-09-28 16:47:03 -04:00
Mike Ryan
d6f77637c5
[Keyboard] dygma/raise: multiple fixes and improvements (#18361[)
2022-09-28 12:23:42 -07:00
Ryan
be8907d634
Further refactoring of joystick feature ( #18437 )
2022-09-27 18:37:13 +10:00
Drashna Jaelre
fb400f2ac2
Enabling Pointing Device support in register code functions ( #18363 )
2022-09-26 20:49:32 -07:00
QMK Bot
99d4225135
Merge remote-tracking branch 'origin/master' into develop
2022-09-26 06:14:44 +00:00
Nick Lopez
d98ec93eb8
[Keyboard] Add Osborne 1 handwired keyboard ( #18397 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-09-25 23:14:36 -07:00
QMK Bot
e1d63ad0df
Merge remote-tracking branch 'origin/master' into develop
2022-09-26 05:42:40 +00:00
Cao Thai Duong
6809f154c9
[Keyboard] Add Handwired 87 keys ( #17682 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2022-09-25 22:42:04 -07:00
Ryan
ea2819b2c2
Change {LED,RGB}_DISABLE_TIMEOUT
to {LED,RGB}_MATRIX_TIMEOUT
( #18415 )
2022-09-26 14:40:15 +10:00
QMK Bot
9509dfbe39
Merge remote-tracking branch 'origin/master' into develop
2022-09-26 03:39:18 +00:00
Joe Scotto
fe7ee4961c
[Keyboard] Add Scotto9 Macropad ( #18452 )
...
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-09-25 20:39:09 -07:00
Drashna Jaelre
5abb125b02
[Keymap] develop updates for Drashna Keymaps ( #18472 )
2022-09-25 13:04:00 -07:00
Drashna Jael're
8478e96de6
Merge remote-tracking branch 'origin/master' into develop
2022-09-24 12:23:36 -07:00
Joe Scotto
e88f0adcae
[Keyboard] Add Scotto36 Keyboard ( #18446 )
2022-09-24 11:56:06 -07:00
Ryan
36c410592d
Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
( #18399 )
2022-09-23 22:46:23 +10:00
QMK Bot
b223e29921
Merge remote-tracking branch 'origin/master' into develop
2022-09-16 01:03:59 +00:00
Joel Challis
617f957e82
Fix handwired/swiftrax/bumblebee layout macro ( #18377 )
2022-09-16 02:03:18 +01:00
QMK Bot
2b30b3e168
Merge remote-tracking branch 'origin/master' into develop
2022-09-09 12:41:51 +00:00
Jacqueline Liang
88555d8e18
Add via support for 6key ( #18082 )
2022-09-09 13:41:18 +01:00
QMK Bot
b6a79bec46
Merge remote-tracking branch 'origin/master' into develop
2022-09-09 01:58:52 +00:00
James Young
107ccc56b4
Hillside 46 & 52: remove dead space from QMK Configurator renderings ( #18315 )
...
* Hillside 46 info.json: fix syntax error
* Hillside 46 info.json: remove dead space
* Hillside 52 info.json: remove dead space
2022-09-09 02:57:46 +01:00
Dasky
d30f0f71d0
Remove legacy define SERIAL_USE_MULTI_TRANSACTION ( #18299 )
2022-09-07 00:42:28 +01:00
Dasky
dc4af81e0b
Remove legacy USE_SERIAL define ( #18292 )
...
* Remove legacy USE_SERIAL define
* tidy up missed comments
2022-09-06 18:46:34 +01:00
Ryan
8833b28361
Remove UNICODE_KEY_OSX
and UC_OSX
( #18290 )
2022-09-06 18:07:08 +01:00
QMK Bot
3a56e973ff
Merge remote-tracking branch 'origin/master' into develop
2022-09-03 18:47:52 +00:00
Ryan
3c09db41fe
Fix a couple of boards still using usb.device_ver
( #18258 )
2022-09-03 14:47:22 -04:00
QMK Bot
fea65c9856
Merge remote-tracking branch 'origin/master' into develop
2022-09-03 05:51:26 +00:00
Joel Challis
5c0e87608f
Remove more RESET keycode references ( #18252 )
2022-09-03 06:50:44 +01:00
Ryan
50c4ca3426
Ensure all keyboards have a bootloader set ( #18234 )
2022-08-31 17:36:41 +01:00
Ryan
bb6f028833
Move bootloader.mk to platforms ( #18228 )
2022-08-31 07:17:24 -07:00
Marek Kraus
0237ff0c62
[Core] Rework PS/2 driver selection ( #17892 )
...
* [Core] Rework PS/2 driver selection
Enabling and selecting PS/2 driver was using old approach,
so it was reworked to current approach, inspired by Serial
and WS2812 driver selections.
* [Keyboard] Update keyboards using PS/2 to use new PS/2 driver selection
* [Docs] Update PS/2 documentation to use new PS/2 driver selection
* Fix indentation
* [Core] Add PS2 to data driver
* Fix oversight in property name
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Add PS/2 pins to data driven mappings
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-08-31 09:16:07 +02: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
7ef6c179e4
Merge remote-tracking branch 'origin/master' into develop
2022-08-29 04:49:22 +00:00