Commit Graph

26 Commits

Author SHA1 Message Date
fff1cbecdc fix: Add wakeup-source; to kscan nodes for ZMK_SLEEP.
* ZMK_SLEEP also enables PM_DEVICE, so be sure to mark kscan
  nodes as wakeup sources so they can wake keyboards from sleep.
2024-03-29 12:31:43 -07:00
6b547019c2 refactor: use zmk,matrix-transform instead of zmk,matrix_transform
* Align codebase with documentation.
2024-01-23 23:02:35 -06:00
23ecf08119 refactor(behaviors)!: Remove labels from behaviors
Removed the label property from built-in behaviors, custom behaviors
defined in a few keymaps, and macros generated with ZMK_MACRO().

Now that node names are used to identify behaviors, and names only need
to be unique within the set of behaviors, the names of all behaviors
have been shortened to be similar to their original labels.

This means that any keymaps which reference behavior nodes by name
instead of by label will need to be updated. Keymaps typically use the
labels though, so most keymaps should be unaffected by this change.
2023-12-04 20:06:54 -06:00
ba5637fdef refactor: Remove unimportant labels
Removed "label" properties which no longer have any function.

Labels are still used as layer names and as identifiers for sending
behaviors between sides of a split keyboard, so those have been left
alone for now.
2023-12-04 20:06:54 -06:00
94061bb916 refactor: Replace tabs with spaces
Standardized indentation to use spaces with a new pre-commit hook.
2023-04-24 16:07:04 -07:00
32ae776c42 refactor: Add more checks to pre-commit
Updated existing pre-commit hooks and added some new hooks:

- Remove trailing whitespace
- Ensure every non-empty file ends with a new line
- Check YAML file validity
- Prevent adding large files
- Ensure any scripts with shebangs are executable

Added a GitHub action to run pre-commit on every commit. Removed any
existing actions which duplicate pre-commit.

Ran pre-commit on the codebase.
2023-04-24 16:07:04 -07:00
374104dec6 fix(underglow): Move to spi3 for underglow bus.
* Workaround Zephyr bug for Nordic SPI(M) driver after the
  pinctrl refactor by using spi3 peripheral for the SPI bus for
  the WS2812 led_strip driver.
2023-04-09 14:41:00 -07:00
1493620bf7 refactor(boards): Move to pinctrl. 2023-04-05 22:55:38 -07:00
35a1c5a3d4 refactor(behaviors): Rename reset behavior.
* Upstream now has a node w/ label `reset` on many boards, so
  renaming our reset behavior node label to `sys_reset`.
2023-04-05 22:55:38 -07:00
bf2fc68070 fix(underglow): Add newly required color-mapping prop. 2022-04-03 00:10:29 -04:00
687e91ab18 feat(boards): Remove usage of pro_micro_a/d nodes 2021-09-25 23:09:21 -04:00
2907704f9f refactor(shields): Add pro-micro shield metadata. 2021-09-11 00:50:36 -04:00
af9d6e9b05 style(hold-tap)!: Write hold-tap params with dashes
tapping_term_ms -> tapping-term-ms
quick_tap_ms -> quick-tap-ms

The old style works, although it's deprecated.
2021-02-10 07:55:12 -05:00
5880a284c1 feat(tg4x): Reconcile with official keymap and tidy-up 2021-01-08 10:14:43 +00:00
28bec8541b style(tg4x): Convert Kconfig spaces to tabs 2021-01-08 10:14:43 +00:00
7fd8561b45 fix(tg4x): Add tg4x.conf to mirror other shield setups 2021-01-08 10:14:43 +00:00
7fc28328d0 refactor(tg4x): Cleanup tg4x overlay
Tidies pin definitions and map.
2021-01-08 10:14:43 +00:00
de6ce05391 chore(tg4x): fix copyright header 2021-01-08 10:14:43 +00:00
185ff462d6 docs(tg4x): Add readme for tg4x 2021-01-08 10:14:43 +00:00
cd8567071b fix(tg4x): Fix tg4x keyboard name in Kconfig 2021-01-08 10:14:43 +00:00
3e4f2a3dc3 feat(tg4x): Add underglow support for tg4x + nice_nano 2021-01-08 10:14:43 +00:00
842aa5a842 refactor: replace filename hyphens with underscores
Aligns *.h and *.c to underscore naming convention.

These were kept (with warnings) for backwards compatibility with external boards/shields:
- kscan-mock.h
- matrix-transform.h
They should be removed in the future.

PR: #523
2020-12-28 01:15:35 -05:00
77c16b020e improvement: upgrade default keymaps
Ran all the default keymaps through the keymap upgrader and manually adjusted
alignment.
2020-12-10 12:05:21 +00:00
eee8eb6e77 fix: Single author file copyright header fix. 2020-10-12 13:04:24 -04:00
7fc7a35117 Revised keymap to Qwerty 2020-10-10 16:51:17 -05:00
16df1522c2 Add TG4X rev 2.1 shield 2020-09-30 21:35:51 -05:00