112 Commits (7654c2a23b183f10c706bc6511d151ecc441fa7d)

Author SHA1 Message Date
Kyle McCreery 915d7a18d7
[Keyboard] New Keyboard - Sugar Glider (#19933)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Co-authored-by: jack <0x6a73@protonmail.com>
3 years ago
Ryan 7e0299117b
Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
3 years ago
Joel Challis 961f0b7b2d
Reallocate SAFE_RANGE (#19909) 3 years ago
Nick Brassel 7f805cc779
VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech>
Co-authored-by: zvecr <git@zvecr.com>
3 years ago
Ryan 8f6c228adb
Move `SOFT_SERIAL_PIN` to data driven (#19863) 3 years ago
Ryan 2da0827d4f
Remove matrix size defines (#19581) 3 years ago
Ryan f4ba17c4a0
Move LED indicator config to data driven (#19800) 3 years ago
Ryan d784f78bd0
Move Bootmagic config to data driven (#19860) 3 years ago
Ryan 7fad94ba2d
Remove unused RGBLight defines from config.h (#19859) 3 years ago
Ryan f9aeea64c1
Migrate `MCU` and `BOOTLOADER` to data-driven (#19529) 3 years ago
Ryan 11b6bb8179
Remove unused Bootmagic row/col defines from config.h (#19761) 3 years ago
Ryan a988f8a169
Remove unused `GRAVE_ESC_CTRL_OVERRIDE` from config.h (#19752) 3 years ago
Ryan f0618a1d53
Remove `IS_HOST_LED_ON` and migrate usages (#19753) 3 years ago
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
3 years ago
Ryan f20a05440e
Remove unused `MATRIX_HAS_GHOST` from config.h (#19726) 3 years ago
Ryan b867522f8c
Clean up Force NKRO in config.h (#19718) 3 years ago
Nick Brassel f6dd8dea2e
Remove usages of config_common.h from config.h files. (#19714) 3 years ago
Ryan cf935d97ae
Fix functions with empty params (#19647)
* Fix functions with empty params

* Found a bunch more
3 years ago
Ryan 801d2ff940
Remove useless line continuations (#19399) 3 years ago
Ryan 1978007fae
Tap Dance: remove `qk_` prefix (#19313) 3 years ago
Joel Challis 3b11e98215
Update use of legacy keycodes (#19120) 3 years ago
Ryan db2aa039f1
Remove more `UNUSED_PINS` defines (#18940) 3 years ago
Ryan 002b58f0e4
Normalise Space Cadet keycodes (#18864) 3 years ago
Ryan 1cb1a5a374
Remove legacy Grave Escape keycodes (#18787) 3 years ago
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
3 years ago
Ryan 5e4b076af3
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
3 years ago
Drashna Jaelre c8e998ccad
Remove RGBLIGHT_ANIMATION and clean up effect defines for L-Q (#18727) 3 years ago
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`
3 years ago
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`
3 years ago
Joel Challis e068f7a8d1
RESET -> QK_BOOT user keymaps (#18560) 3 years ago
Joshua Diamond 9a1b4b78f1 Merge remote-tracking branch 'origin/master' into develop 3 years ago
jonavin c6ff10a257
FIx ARRAYSIZE def and Murphpad string array (#18392)
Co-authored-by: Jonavin <=>
3 years ago
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>
3 years ago
Less/Rikki 4adb64a91b
[Keyboard] mechwild/bde cleanup and refactor (#18149) 3 years ago
Joel Challis 43fd647130
Add eeprom defaults for tinyuf2 bootloader (#18042) 3 years ago
QMK Bot 5f371104bc Merge remote-tracking branch 'origin/master' into develop 3 years ago
Joel Challis 7fab889696
Fix use of encoder map in mechwild/clunker (#18156) 3 years ago
QMK Bot dd0277beab Merge remote-tracking branch 'origin/master' into develop 3 years ago
Kyle McCreery 7839396614
[Keyboard] Add Clunker (#18141)
Co-authored-by: Drashna Jaelre <drashna@live.com>
3 years ago
Joel Challis bbc3bc55f2
RESET -> QK_BOOT user keymaps (#17940) 3 years ago
QMK Bot e36ae90a65 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Ryan b0eda7701a
Move keyboard USB IDs and strings to data driven, pass 3 (#18111) 3 years ago
Drashna Jael're 8f6b019dcc
Merge remote-tracking branch 'origin/master' into develop 3 years ago
Joel Challis d2accb48e7
RESET -> QK_BOOT keyboard readme (#18110) 3 years ago
fauxpark 61689ae609 Merge remote-tracking branch 'upstream/master' into develop 3 years ago
Ryan f4dcce7e59
Move keyboard USB IDs and strings to data driven, pass 2: M-O (#18090) 3 years ago
QMK Bot 904df296b0 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Joel Challis e44b6242b7
Migrate more F4x1 board files (#18054) 3 years ago
QMK Bot 630de240b4 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Joel Challis 93fb69fbda
Migrate more F4x1 board files (#18046) 3 years ago