Commit graph

36 commits

Author SHA1 Message Date
Ilya Zhuravlev
06c5bacdd6 mass disable CAPS_WORD_ENABLE, LAYER_LOCK_ENABLE, REPEAT_KEY_ENABLE on failing keyboards 2025-06-29 17:38:22 -06:00
Ilya Zhuravlev
7b247bc800 Merge remote-tracking branch 'qmk/master' into merge-2025-06-21 2025-06-21 16:00:42 -06:00
Nick Brassel
2b00b846dc
Non-volatile memory data repository pattern (#24356)
* First batch of eeconfig conversions.

* Offset and length for datablocks.

* `via`, `dynamic_keymap`.

* Fix filename.

* Commentary.

* wilba leds

* satisfaction75

* satisfaction75

* more keyboard whack-a-mole

* satisfaction75

* omnikeyish

* more whack-a-mole

* `generic_features.mk` to automatically pick up nvm repositories

* thievery

* deferred variable resolve

* whitespace

* convert api to structs/unions

* convert api to structs/unions

* convert api to structs/unions

* fixups

* code-side docs

* code size fix

* rollback

* nvm_xxxxx_erase

* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.

* Fixup build.

* Fixup compilation error with encoders.

* Build fixes.

* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.

* Build failure rectification.
2025-03-21 23:38:34 +11:00
Ilya Zhuravlev
760225f515 Merge remote-tracking branch 'qmk/master' into merge-2025-02-08 2025-02-08 20:14:59 -06:00
Joel Challis
e4e015c0c8
Update keymaps to use PDF keycode (#24633) 2024-11-23 13:35:34 +00:00
Ilya Zhuravlev
a780dd1cb1 Merge remote-tracking branch 'qmk/master' into merge-2024-09-07 2024-09-07 19:49:19 -06:00
Nick Brassel
45dc2499dc
Remove all via-enabled keymaps, including via. (#24322) 2024-08-26 07:51:22 +10:00
Ilya Zhuravlev
e9d70b410a Merge remote-tracking branch 'qmk/master' into merge-2024-06-23 2024-06-23 22:54:29 -06:00
Ryan
b8f29c3865
Update GPIO macros in keymaps (#23792) 2024-05-24 19:38:57 +01:00
Ilya Zhuravlev
17e46fcec7 Merge remote-tracking branch 'qmk/master' into merge-2024-04-15 2024-04-15 19:43:02 -06:00
Nick Brassel
a1c8b1ebf7
Remove obvious user keymaps, keyboards/{d,e,f}* edition. (#22695) 2023-12-18 21:45:52 +11:00
Ilya Zhuravlev
66574eb854 Merge remote-tracking branch 'qmk/master' into merge-2023-12-16 2023-12-16 10:48:34 -06:00
Ryan
aec7f29df7
Add mousekey.h include to quantum.h (#21897) 2023-09-04 03:14:14 +01:00
Ilya Zhuravlev
1d91042f7e fix some failing keyboards 2023-07-15 23:54:55 -06:00
Ilya Zhuravlev
c05356439e Merge branch 'vial' into merge-2023-06-03 2023-07-15 22:23:48 -06:00
Kristofer
712ad24d40
Port Plaid to Vial (#430)
* Port Plaid

* Update readme.md

* Update readme.md

* Update keymap.c
2023-04-09 19:03:45 -06: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
Joel Challis
53cc6170ae
Refactor some layouts which contain keyboard name (#19645)
* Refactor some layouts which contain keyboard name

* use planck_mit
2023-01-20 05:44:05 +00:00
Joel Challis
3b11e98215
Update use of legacy keycodes (#19120) 2022-11-22 22:07:47 +11:00
Ryan
002b58f0e4
Normalise Space Cadet keycodes (#18864) 2022-10-27 11:19:16 +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
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
Johannes Löthberg
d412dc61ee
Remove remaining use of terminal keys and related comment labels (#18402) 2022-09-29 20:42:42 -07: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
Joel Challis
bbc3bc55f2
RESET -> QK_BOOT user keymaps (#17940) 2022-08-21 23:55:30 +01:00
Drashna Jaelre
0da6562c4d
Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2022-06-19 07:37:51 +10:00
Nick Brassel
8545473307
Removes terminal from QMK. (#17258) 2022-05-30 22:38:08 -07:00
Joel Challis
b7771ec25b
RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
Ryan
315fb6e724
Remove empty config.h from default-ish keymaps (#15429) 2021-12-09 16:00:55 +11:00
Xelus22
b73a29aaea
[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75

* update uint32_t to layer_state
2021-07-19 09:50:55 -07:00
kaylanm
e680af98d2
Enable extrakeys, mousekeys for all VIA keymaps. (#10740) 2020-11-02 21:23:05 +00:00
Benjamin Grosse
db9204c7e1
[Keymap] add an autoclicker to my plaid keymap (#10743) 2020-10-29 01:26:15 -07:00
Benjamin Grosse
7daad08a91
[Keymap] plaid keymap with custm LED animation (#10701) 2020-10-23 17:10:45 -07:00
Stephen Huan
3abb609348
Add stephen-huan keymap and fix LED problem in the default Plaid keymap (#9306)
* change layers, add pinmode to fix LEDs

* fix LEDs by setting the pin mode

* edit README

* edit GPIO documentation, edit keymap

* add markov chain

* simplify LED logic

* undo documentation changes

* keymap changes, fix LED enum logic
2020-09-19 17:30:46 -07:00
Joel Challis
b2271d984d
Move plaid via keymap to correct location (#9255) 2020-06-01 11:53:43 +10:00
James Young
fced377ac0
2020 May 30 Breaking Changes Update (#9215)
* Branch point for 2020 May 30 Breaking Change

* Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954)

* Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957)

* Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958)

* Migrate `ACTION_LAYER_MODS` to `LM()` (#8959)

* Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968)

* Convert V-USB usbdrv to a submodule (#8321)

* Unify Tap Hold functions and documentation (#8348)

* Changing board names to prevent confusion (#8412)

* Move the Keyboardio Model01 to a keyboardio/ subdir (#8499)

* Move spaceman keyboards (#8830)

* Migrate miscellaneous `fn_actions` entries (#8977)

* Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979)

* Organizing my keyboards (plaid, tartan, ergoinu) (#8537)

* Refactor Lily58 to use split_common (#6260)

* Refactor zinc to use split_common (#7114)

* Add a message if bin/qmk doesn't work (#9000)

* Fix conflicting types for 'tfp_printf' (#8269)

* Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480)

* Refactor and updates to TKC1800 code (#8472)

* Switch to qmk forks for everything (#9019)

* audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484)

* Audio enable corrections (2/3) (#8903)

* Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582)

* Audio enable corrections (Part 4) (#8974)

* Fix typo from PR7114 (#9171)

* Augment future branch Changelogs (#8978)

* Revert "Branch point for 2020 May 30 Breaking Change"
2020-05-30 13:14:59 -07:00