Skip to content

Commit 49a7b5e

Browse files
committed
teste
Squashed commit of the following: commit 441988e Author: Ryan <[email protected]> Date: Sat Apr 8 20:50:50 2023 +1000 Move `default` layouts to data driven (qmk#20349) commit fd6449e Author: Ryan <[email protected]> Date: Sat Apr 8 19:27:11 2023 +1000 Move split space/backspace layouts to data driven (qmk#20356) commit 41feebf Author: Nick Brassel <[email protected]> Date: Sat Apr 8 19:24:33 2023 +1000 Set up DEFAULT_FOLDER for primekb/meridian (qmk#20367) commit 5220487 Author: Ryan <[email protected]> Date: Sat Apr 8 18:08:08 2023 +1000 Move `RGB_MATRIX_DRIVER` to data driven (qmk#20350) commit 10fc6c4 Merge: dbfbf6c 2c375e6 Author: Nick Brassel <[email protected]> Date: Sat Apr 8 11:03:04 2023 +1000 Merge remote-tracking branch 'upstream/master' into develop commit 2c375e6 Author: Drashna Jaelre <[email protected]> Date: Fri Apr 7 17:59:13 2023 -0700 [Keyboard] Add audio support to Adafruit MacroPad RP2040 (qmk#20353) commit dbfbf6c Merge: 4aa2cd4 a5e68e5 Author: QMK Bot <[email protected]> Date: Fri Apr 7 22:12:38 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit a5e68e5 Author: Duncan Sutherland <[email protected]> Date: Fri Apr 7 23:11:56 2023 +0100 Convertors documentation: Removed duplicate table entry (qmk#20360) commit 4aa2cd4 Merge: 369c5a2 e9b36be Author: QMK Bot <[email protected]> Date: Fri Apr 7 13:08:43 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit e9b36be Author: Joel Challis <[email protected]> Date: Fri Apr 7 14:07:59 2023 +0100 Avoid generating empty ENCODER_RESOLUTION (qmk#20179) commit 369c5a2 Author: Pablo Martínez <[email protected]> Date: Fri Apr 7 12:41:53 2023 +0200 Add layer-cycle example (qmk#19069) Co-authored-by: Drashna Jaelre <[email protected]> commit f076458 Merge: 5bc5140 df7b56e Author: QMK Bot <[email protected]> Date: Fri Apr 7 08:38:54 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit df7b56e Author: Nick Brassel <[email protected]> Date: Fri Apr 7 18:38:16 2023 +1000 Fixup CI build variables. (qmk#20357) commit 5bc5140 Merge: b84b62c 2e766a9 Author: QMK Bot <[email protected]> Date: Fri Apr 7 06:37:46 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 2e766a9 Author: Nick Brassel <[email protected]> Date: Fri Apr 7 16:37:06 2023 +1000 Add Discord webhook at end of each CI run. (qmk#20355) commit b84b62c Merge: 6334805 4ba3fdf Author: QMK Bot <[email protected]> Date: Fri Apr 7 04:28:28 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 4ba3fdf Author: Albert Y <[email protected]> Date: Fri Apr 7 12:27:51 2023 +0800 Move a_dux to data-driven (qmk#20043) commit 6334805 Merge: 47966dc 655c24d Author: QMK Bot <[email protected]> Date: Thu Apr 6 18:03:03 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 655c24d Author: lalalademaxiya1 <[email protected]> Date: Fri Apr 7 02:02:24 2023 +0800 [Keyboard] Add Keychron Q11 (qmk#20125) Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: adophoxia <[email protected]> Co-authored-by: Ryan <[email protected]> commit 47966dc Author: Ryan <[email protected]> Date: Thu Apr 6 18:00:54 2023 +1000 Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (qmk#20303) commit 71c22a1 Author: James McCleese <[email protected]> Date: Wed Apr 5 18:37:15 2023 -0500 [Keyboard] Add 36-key layout for Beekeeb Piantor (qmk#20328) Co-authored-by: James McCleese <[email protected]> commit 73b376a Author: Stefan Kerkmann <[email protected]> Date: Thu Apr 6 01:04:23 2023 +0200 [Chore] Remove stray mod tap interrupt defines and per key functions (qmk#20347) * Remove stray defines and per key functions * Remove defunct get_ignore_mod_tap_interrupt declaration commit 7115927 Author: Drashna Jaelre <[email protected]> Date: Wed Apr 5 15:36:08 2023 -0700 [Bug] Fix compilation issue with Swap Hands and Encoder Map (qmk#20348) commit 2e9997f Merge: b1b8cd1 eab2b8f Author: QMK Bot <[email protected]> Date: Wed Apr 5 22:35:13 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit eab2b8f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Apr 5 23:34:35 2023 +0100 Bump peter-evans/create-pull-request from 4 to 5 (qmk#20346) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@v4...v5) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit b1b8cd1 Author: Nick Brassel <[email protected]> Date: Thu Apr 6 08:10:40 2023 +1000 Add basic profiler. (qmk#20238) commit 8971311 Merge: b6c99ce d058091 Author: QMK Bot <[email protected]> Date: Wed Apr 5 18:36:25 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit d058091 Author: Luis Garcia <[email protected]> Date: Wed Apr 5 12:35:34 2023 -0600 Add peterfalken userspace & keymaps (qmk#19897) Co-authored-by: Peter.Falken <[email protected]> commit b6c99ce Merge: f7c597b 596319c Author: QMK Bot <[email protected]> Date: Wed Apr 5 18:29:11 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 596319c Author: Álvaro A. Volpato <[email protected]> Date: Wed Apr 5 15:28:27 2023 -0300 Add Iron160 I160-S and I160-H PCBs support (qmk#20077) Co-authored-by: Ryan <[email protected]> Co-authored-by: jack <[email protected]> commit f7c597b Merge: cb87a23 4d17fe2 Author: QMK Bot <[email protected]> Date: Wed Apr 5 18:26:07 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 4d17fe2 Author: DeskDaily <[email protected]> Date: Thu Apr 6 02:25:21 2023 +0800 [Keyboard] Add lxxt (qmk#19935) Co-authored-by: Neil Brian Ramirez <[email protected]> Co-authored-by: Neil Brian Ramirez <[email protected]> commit cb87a23 Merge: 8bb4cba 1d045e8 Author: QMK Bot <[email protected]> Date: Wed Apr 5 08:07:10 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 1d045e8 Author: Dane Skalski <[email protected]> Date: Wed Apr 5 01:06:24 2023 -0700 Add Junco Keyboard (qmk#19516) commit 8bb4cba Author: Ryan <[email protected]> Date: Wed Apr 5 15:53:45 2023 +1000 Move TKL layouts to data driven (qmk#20337) commit 09a2b70 Author: Ryan <[email protected]> Date: Wed Apr 5 15:50:56 2023 +1000 Move Alice and Ergodox layouts to data driven (qmk#20340) commit 6847dba Author: Ryan <[email protected]> Date: Wed Apr 5 15:48:37 2023 +1000 Move 75% and 96% layouts to data driven (qmk#20289) commit 364c06d Author: Ryan <[email protected]> Date: Wed Apr 5 15:46:59 2023 +1000 Move small macropad-ish layouts to data driven (qmk#20341) commit 06c5c02 Author: Nick Brassel <[email protected]> Date: Wed Apr 5 14:59:09 2023 +1000 Disable specific warnings to mitigate compilation problems with `KEEP_INTERMEDIATES=yes`. (qmk#20339) commit f1dbffe Merge: 7bfc2a3 f7176f0 Author: QMK Bot <[email protected]> Date: Tue Apr 4 21:37:04 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit f7176f0 Author: Alex Miller <[email protected]> Date: Tue Apr 4 17:36:23 2023 -0400 [Keyboard] Add Budgy and Crowboard Keyboards (qmk#19141) Co-authored-by: jack <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]> commit 7bfc2a3 Author: Ryan <[email protected]> Date: Tue Apr 4 15:20:10 2023 +1000 Move 65% layouts to data driven (qmk#20308) commit 0e7acb7 Merge: 976317d 687883c Author: QMK Bot <[email protected]> Date: Tue Apr 4 05:10:36 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 687883c Author: Nick Brassel <[email protected]> Date: Tue Apr 4 15:09:55 2023 +1000 Resolve keyboard names for `qmk mass-compile`. (qmk#20335) commit 976317d Author: Ryan <[email protected]> Date: Tue Apr 4 14:39:20 2023 +1000 Move fullsize layouts to data driven (qmk#20317) commit b463ceb Author: Ryan <[email protected]> Date: Tue Apr 4 14:29:50 2023 +1000 Move TKL F13 and FRL layouts to data driven (qmk#20310) commit 147d397 Author: adophoxia <[email protected]> Date: Mon Apr 3 20:26:54 2023 -0700 Move Keychron Q0 and Q0 Plus data-driven configuration; `keychron` keymap `rules.mk` cleanup (qmk#20168) Co-authored-by: Nick Brassel <[email protected]> commit c224cb9 Merge: 81f321d f56cf93 Author: QMK Bot <[email protected]> Date: Tue Apr 4 02:15:38 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit f56cf93 Author: Albert Y <[email protected]> Date: Tue Apr 4 10:15:00 2023 +0800 Add debounce time description (qmk#20333) commit 81f321d Author: Ryan <[email protected]> Date: Tue Apr 4 10:15:35 2023 +1000 `qmk info`: account for ISO enter when calculating layout X offset (qmk#20325) commit 1dd2d1d Merge: ae63c0f 1fd30b3 Author: Nick Brassel <[email protected]> Date: Tue Apr 4 09:20:23 2023 +1000 Merge remote-tracking branch 'upstream/master' into develop commit 1fd30b3 Author: Alex Paulescu <[email protected]> Date: Tue Apr 4 02:13:42 2023 +0300 Manibus keyboard, update pinout (qmk#20309) commit ae63c0f Author: Pascal Getreuer <[email protected]> Date: Mon Apr 3 16:11:26 2023 -0700 [Core] Caps Word "Invert on shift" option: pressing Shift inverts the shift state. (qmk#20092) Co-authored-by: Nick Brassel <[email protected]> commit 368fee9 Author: Purdea Andrei <[email protected]> Date: Tue Apr 4 02:07:36 2023 +0300 rp2040: *_PAL_MODE overridable for this platform too (qmk#20314) Co-authored-by: Sergey Vlasov <[email protected]> commit d783536 Merge: ce58f04 37f205e Author: QMK Bot <[email protected]> Date: Mon Apr 3 23:07:16 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 37f205e Author: Albert Y <[email protected]> Date: Tue Apr 4 07:06:33 2023 +0800 Use table for debounce algorithm description (qmk#20322) commit ce58f04 Merge: ccc7921 26e0bfd Author: QMK Bot <[email protected]> Date: Mon Apr 3 23:06:15 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 26e0bfd Author: blindassassin111 <[email protected]> Date: Mon Apr 3 18:05:13 2023 -0500 [keyboard] Adding OSAv2 numpad (qmk#20209) Co-authored-by: jack <[email protected]> commit ccc7921 Merge: ccda5d2 a434507 Author: QMK Bot <[email protected]> Date: Mon Apr 3 22:56:21 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit a434507 Author: Andrew Kannan <[email protected]> Date: Mon Apr 3 18:56:12 2023 -0400 Add Ripple TKL Keyboard firmware (qmk#20301) commit ee8c867 Author: Andrew Kannan <[email protected]> Date: Mon Apr 3 18:55:38 2023 -0400 Add Ripple TKL Hotswap Firmware (qmk#20302) Co-authored-by: Less/Rikki <[email protected]> commit ccda5d2 Author: ngs-ch <[email protected]> Date: Tue Apr 4 07:48:51 2023 +0900 Make "detected_host_os()" available on the SLAVE side of the split keyboard (qmk#19854) Co-authored-by: ngs.ch <ngs.ch> Co-authored-by: Drashna Jaelre <[email protected]> commit d82c664 Author: CobraSock <[email protected]> Date: Mon Apr 3 15:46:00 2023 -0700 Fixed split keyboard issue where custom LED indicators could activate incorrect LEDs (qmk#20203) (qmk#20204) Co-authored-by: N M <[email protected]> Fixed split keyboard issue where custom LED indicators could activate incorrect LEDs (qmk#20203) commit b67bdf2 Merge: 49ac29f 246cf99 Author: QMK Bot <[email protected]> Date: Mon Apr 3 22:43:55 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 246cf99 Author: Cameron Larsen <[email protected]> Date: Mon Apr 3 15:43:12 2023 -0700 Personal keymaps for crkbd and kyria (qmk#20009) commit 49ac29f Merge: c404e5e eb52984 Author: QMK Bot <[email protected]> Date: Mon Apr 3 20:18:58 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit eb52984 Author: Anjheos <[email protected]> Date: Mon Apr 3 13:18:08 2023 -0700 Adding Oceanographer to QMK. (qmk#20324) commit c404e5e Merge: 36ab0c0 a5272a1 Author: QMK Bot <[email protected]> Date: Mon Apr 3 18:50:07 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit a5272a1 Author: Danny <[email protected]> Date: Mon Apr 3 14:49:21 2023 -0400 Modify default encoder mappings, change PID, enable mousekeys (qmk#20329) commit 36ab0c0 Author: jack <[email protected]> Date: Mon Apr 3 10:18:17 2023 -0600 Add core/fallback encoder behaviour (qmk#20320) commit 7e48a4e Author: Ryan <[email protected]> Date: Mon Apr 3 21:39:02 2023 +1000 Fix API errors (qmk#20326) commit bd4899f Merge: fcf8b80 d06ce01 Author: fauxpark <[email protected]> Date: Mon Apr 3 20:59:24 2023 +1000 Merge remote-tracking branch 'upstream/master' into develop commit fcf8b80 Author: Stefan Kerkmann <[email protected]> Date: Mon Apr 3 10:33:45 2023 +0200 [Core] Refactor `keyevent_t` for 1ms timing resolution (qmk#15847) commit d06ce01 Author: Ryan <[email protected]> Date: Mon Apr 3 16:34:03 2023 +1000 PR checklist: keyboard updates must go to `develop` (qmk#20323) commit c58610b Author: Purdea Andrei <[email protected]> Date: Mon Apr 3 08:45:46 2023 +0300 Data-driven updates to overnumpad controller keyboards (qmk#20259) commit 12de029 Author: Julius Degesys <[email protected]> Date: Mon Apr 3 01:42:14 2023 -0400 Suggest `qmk list-keyboards` when testing build environment (qmk#19471) Co-authored-by: Joel Challis <[email protected]> commit 4992df5 Author: Lisa Ugray <[email protected]> Date: Mon Apr 3 01:39:52 2023 -0400 Add an alternate layout definition for Keyboardio Model 01 (qmk#20245) commit f3f0bf6 Author: studiokestra <[email protected]> Date: Sun Apr 2 23:37:43 2023 -0600 Refactor Galatea (qmk#20011) commit 8a5e8ed Author: 4pplet <[email protected]> Date: Mon Apr 3 07:24:49 2023 +0200 Adding Unextended Standard PCB (qmk#20190) Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: 4pplet <[email protected]> Co-authored-by: 4pplet <[email protected]> commit fb6557a Author: 3araht <[email protected]> Date: Mon Apr 3 14:12:11 2023 +0900 New layer added to giabalanai keyboard (qmk#20118)
1 parent d555248 commit 49a7b5e

File tree

4,712 files changed

+144995
-131592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,712 files changed

+144995
-131592
lines changed

.github/workflows/ci_builds.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ on:
1010

1111
jobs:
1212
ci_builds:
13+
if: github.repository == 'qmk/qmk_firmware'
1314
name: "CI Build"
1415
runs-on: self-hosted
1516
timeout-minutes: 1380
1617

17-
if: github.repository == 'qmk/qmk_firmware'
18-
1918
strategy:
2019
fail-fast: false
2120
matrix:
@@ -58,3 +57,12 @@ jobs:
5857
*.hex
5958
*.uf2
6059
.build/failed.*
60+
61+
- name: 'CI Discord Notification'
62+
if: always()
63+
working-directory: util/ci/
64+
env:
65+
DISCORD_WEBHOOK: ${{ secrets.CI_DISCORD_WEBHOOK }}
66+
run: |
67+
python3 -m pip install -r requirements.txt
68+
python3 ./discord-results.py --branch ${{ matrix.branch }} --keymap ${{ matrix.keymap }} --url ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

.github/workflows/format_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
git config user.email '[email protected]'
4848
4949
- name: Create Pull Request
50-
uses: peter-evans/create-pull-request@v4
50+
uses: peter-evans/create-pull-request@v5
5151
if: ${{ github.repository == 'qmk/qmk_firmware'}}
5252
with:
5353
token: ${{ secrets.QMK_BOT_TOKEN }}

.github/workflows/regen_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
git config user.email '[email protected]'
3535
3636
- name: Create Pull Request
37-
uses: peter-evans/create-pull-request@v4
37+
uses: peter-evans/create-pull-request@v5
3838
if: ${{ github.repository == 'qmk/qmk_firmware'}}
3939
with:
4040
token: ${{ secrets.QMK_BOT_TOKEN }}

data/mappings/info_config.hjson

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"BOOTMAGIC_LITE_COLUMN_RIGHT": {"info_key": "split.bootmagic.matrix.1", "value_type": "int"},
2929
"BOTH_SHIFTS_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.both_shifts_turns_on", "value_type": "bool"},
3030
"CAPS_WORD_IDLE_TIMEOUT": {"info_key": "caps_word.idle_timeout", "value_type": "int"},
31+
"CAPS_WORD_INVERT_ON_SHIFT": {"info_key": "caps_word.invert_on_shift", "value_type": "bool"},
3132
"COMBO_COUNT": {"info_key": "combo.count", "value_type": "int"},
3233
"COMBO_TERM": {"info_key": "combo.term", "value_type": "int"},
3334
"DEBOUNCE": {"info_key": "debounce", "value_type": "int"},
@@ -72,7 +73,6 @@
7273
"PS2_DATA_PIN": {"info_key": "ps2.data_pin"},
7374
"RETRO_TAPPING": {"info_key": "tapping.retro", "value_type": "bool"},
7475
"RETRO_TAPPING_PER_KEY": {"info_key": "tapping.retro_per_key", "value_type": "bool"},
75-
"RGB_DI_PIN": {"info_key": "rgblight.pin"},
7676
"RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
7777
"RGBLED_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
7878
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "bool"},
@@ -119,10 +119,12 @@
119119
"USB_MAX_POWER_CONSUMPTION": {"info_key": "usb.max_power", "value_type": "int"},
120120
"USB_POLLING_INTERVAL_MS": {"info_key": "usb.polling_interval", "value_type": "int"},
121121
"USB_SUSPEND_WAKEUP_DELAY": {"info_key": "usb.suspend_wakeup_delay", "value_type": "int"},
122+
"WS2812_DI_PIN": {"info_key": "ws2812.pin"},
122123
"WS2812_I2C_ADDRESS": {"info_key": "ws2812.i2c_address", "value_type": "hex"},
123124
"WS2812_I2C_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"},
124125

125126
// Items we want flagged in lint
127+
"RGB_DI_PIN": {"info_key": "rgblight.pin", "invalid": true, "replace_with": "WS2812_DI_PIN or APA102_DI_PIN"},
126128
"NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true},
127129
"NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
128130
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},

data/schemas/keyboard.jsonschema

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@
226226
"enabled": {"type": "boolean"},
227227
"both_shifts_turns_on": {"type": "boolean"},
228228
"double_tap_shift_turns_on": {"type": "boolean"},
229-
"idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
229+
"idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
230+
"invert_on_shift": {"type": "boolean"}
230231
}
231232
},
232233
"combo": {
@@ -490,7 +491,10 @@
490491
},
491492
"led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
492493
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
493-
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
494+
"pin": {
495+
"$ref": "qmk.definitions.v1#/mcu_pin",
496+
"$comment": "Deprecated: use ws2812.pin instead"
497+
},
494498
"rgbw": {"type": "boolean"},
495499
"saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
496500
"sleep": {"type": "boolean"},
@@ -713,6 +717,7 @@
713717
"type": "string",
714718
"enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"]
715719
},
720+
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
716721
"i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"},
717722
"i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
718723
}

docs/config_options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ If you define these options you will enable the associated feature, which may in
214214

215215
## RGB Light Configuration
216216

217-
* `#define RGB_DI_PIN D7`
217+
* `#define WS2812_DI_PIN D7`
218218
* pin the DI on the WS2812 is hooked-up to
219219
* `#define RGBLIGHT_LAYERS`
220220
* Lets you define [lighting layers](feature_rgblight.md?id=lighting-layers) that can be toggled on or off. Great for showing the current keyboard layer or caps lock state.
@@ -230,7 +230,7 @@ If you define these options you will enable the associated feature, which may in
230230
* `#define RGBLIGHT_SPLIT`
231231
* Needed if both halves of the board have RGB LEDs wired directly to the RGB output pin on the controllers instead of passing the output of the left half to the input of the right half
232232
* `#define RGBLED_SPLIT { 6, 6 }`
233-
* number of LEDs connected that are directly wired to `RGB_DI_PIN` on each half of a split keyboard
233+
* number of LEDs connected that are directly wired to the RGB pin on each half of a split keyboard
234234
* First value indicates number of LEDs for left half, second value is for the right half
235235
* When RGBLED_SPLIT is defined, RGBLIGHT_SPLIT is implicitly defined.
236236
* `#define RGBLIGHT_HUE_STEP 12`

docs/feature_caps_word.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,26 @@ by defining `IS_COMMAND()` in config.h:
9090
9191
## Customizing Caps Word :id=customizing-caps-word
9292
93+
### Invert on shift :id=invert-on-shift
94+
95+
By default, Caps Word turns off when Shift keys are pressed, considering them as
96+
word-breaking. Alternatively with the `CAPS_WORD_INVERT_ON_SHIFT` option,
97+
pressing the Shift key continues Caps Word and inverts the shift state. This
98+
is convenient for uncapitalizing one or a few letters within a word, for
99+
example with Caps Word on, typing "D, B, Shift+A, Shift+A, S" produces "DBaaS",
100+
or typing "P, D, F, Shift+S" produces "PDFs".
101+
102+
Enable it by adding in config.h
103+
104+
```c
105+
#define CAPS_WORD_INVERT_ON_SHIFT
106+
```
107+
108+
This option works with regular Shift keys `KC_LSFT` and `KC_RSFT`, mod-tap Shift
109+
keys, and one-shot Shift keys. Note that while Caps Word is on, one-shot Shift
110+
keys behave like regular Shift keys, and have effect only while they are held.
111+
112+
93113
### Idle timeout :id=idle-timeout
94114

95115
Caps Word turns off automatically if no keys are pressed for

docs/feature_converters.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Currently the following converters are available:
1717
| `promicro` | `bit_c_pro` |
1818
| `promicro` | `stemcell` |
1919
| `promicro` | `bonsai_c4` |
20-
| `promicro` | `elite_pi` |
2120
| `promicro` | `rp2040_ce` |
2221
| `promicro` | `elite_pi` |
2322
| `promicro` | `helios` |

docs/feature_debounce_type.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -57,78 +57,78 @@ susceptible to noise, you must choose a debounce method that will also mitigate
5757
if the scanning is slow, and you are using a timestamp-based algorithm, you might end up making a debouncing decision based on only two
5858
sampled values, which will limit the noise-resistance of the algorithm.
5959
* Currently all built-in debounce algorithms support timestamp-based debouncing only. In the future we might
60-
implement cycles-based debouncing, and it will be selectable via a ```config.h``` macro.
60+
implement cycles-based debouncing, and it will be selectable via a `config.h` macro.
6161

6262
2) Symmetric vs Asymmetric
6363
* Symmetric - apply the same debouncing algorithm, to both key-up and key-down events.
64-
* Recommended naming convention: ```sym_*```
64+
* Recommended naming convention: `sym_*`
6565
* Asymmetric - apply different debouncing algorithms to key-down and key-up events. E.g. Eager key-down, Defer key-up.
66-
* Recommended naming convention: ```asym_*``` followed by details of the type of algorithm in use, in order, for key-down and then key-up
66+
* Recommended naming convention: `asym_*` followed by details of the type of algorithm in use, in order, for key-down and then key-up
6767

6868
3) Eager vs Defer
6969
* Eager - any key change is reported immediately. All further inputs for DEBOUNCE ms are ignored.
7070
* Eager algorithms are not noise-resistant.
7171
* Recommended naming conventions:
72-
* ```sym_eager_*```
73-
* ```asym_eager_*_*```: key-down is using eager algorithm
74-
* ```asym_*_eager_*```: key-up is using eager algorithm
72+
* `sym_eager_*`
73+
* `asym_eager_*_*`: key-down is using eager algorithm
74+
* `asym_*_eager_*`: key-up is using eager algorithm
7575
* Defer - wait for no changes for DEBOUNCE ms before reporting change.
7676
* Defer algorithms are noise-resistant
7777
* Recommended naming conventions:
78-
* ```sym_defer_*```
79-
* ```asym_defer_*_*```: key-down is using defer algorithm
80-
* ```asym_*_defer_*```: key-up is using defer algorithm
78+
* `sym_defer_*`
79+
* `asym_defer_*_*`: key-down is using defer algorithm
80+
* `asym_*_defer_*`: key-up is using defer algorithm
8181

8282
4) Global vs Per-Key vs Per-Row
8383
* Global - one timer for all keys. Any key change state affects global timer
84-
* Recommended naming convention: ```*_g```
84+
* Recommended naming convention: `*_g`
8585
* Per-key - one timer per key
86-
* Recommended naming convention: ```*_pk```
86+
* Recommended naming convention: `*_pk`
8787
* Per-row - one timer per row
88-
* Recommended naming convention: ```*_pr```
88+
* Recommended naming convention: `*_pr`
8989
* Per-key and per-row algorithms consume more resources (in terms of performance,
9090
and ram usage), but fast typists might prefer them over global.
9191

92-
## Debounce algorithms supported by QMK
92+
## Supported Debounce Algorithms
9393

94-
QMK supports multiple debounce algorithms through its debounce API.
94+
QMK supports multiple algorithms through its debounce API.
9595

96-
### Debounce selection
96+
### Debounce Time
9797

98-
| DEBOUNCE_TYPE | Description | What else is needed |
99-
| ------------- | --------------------------------------------------- | ----------------------------- |
100-
| Not defined | Use the default algorithm, currently sym_defer_g | Nothing |
101-
| custom | Use your own debounce code | ```SRC += debounce.c``` add your own debounce.c and implement necessary functions |
102-
| Anything Else | Use another algorithm from quantum/debounce/* | Nothing |
98+
Default debounce time is 5 milliseconds and it can be changed with the following line in `config.h`:
99+
```
100+
#define DEBOUNCE 10
101+
```
102+
?> Setting `DEBOUNCE` to `0` will disable this feature.
103103

104-
**Regarding split keyboards**:
105-
The debounce code is compatible with split keyboards.
104+
### Debounce Method
106105

107-
### Selecting an included debouncing method
108-
Keyboards may select one of the already implemented debounce methods, by adding to ```rules.mk``` the following line:
106+
Keyboards may select one of the core debounce methods by adding the following line into `rules.mk`:
109107
```
110108
DEBOUNCE_TYPE = <name of algorithm>
111109
```
112-
Where name of algorithm is one of:
113-
* ```sym_defer_g``` - debouncing per keyboard. On any state change, a global timer is set. When ```DEBOUNCE``` milliseconds of no changes has occurred, all input changes are pushed.
114-
* This is the current default algorithm. This is the highest performance algorithm with lowest memory usage, and it's also noise-resistant.
115-
* ```sym_eager_pr``` - debouncing per row. On any state change, response is immediate, followed by locking the row ```DEBOUNCE``` milliseconds of no further input for that row.
116-
For use in keyboards where refreshing ```NUM_KEYS``` 8-bit counters is computationally expensive / low scan rate, and fingers usually only hit one row at a time. This could be
117-
appropriate for the ErgoDox models; the matrix is rotated 90°, and hence its "rows" are really columns, and each finger only hits a single "row" at a time in normal use.
118-
* ```sym_eager_pk``` - debouncing per key. On any state change, response is immediate, followed by ```DEBOUNCE``` milliseconds of no further input for that key
119-
* ```sym_defer_pr``` - debouncing per row. On any state change, a per-row timer is set. When ```DEBOUNCE``` milliseconds of no changes have occurred on that row, the entire row is pushed. Can improve responsiveness over `sym_defer_g` while being less susceptible than per-key debouncers to noise.
120-
* ```sym_defer_pk``` - debouncing per key. On any state change, a per-key timer is set. When ```DEBOUNCE``` milliseconds of no changes have occurred on that key, the key status change is pushed.
121-
* ```asym_eager_defer_pk``` - debouncing per key. On a key-down state change, response is immediate, followed by ```DEBOUNCE``` milliseconds of no further input for that key. On a key-up state change, a per-key timer is set. When ```DEBOUNCE``` milliseconds of no changes have occurred on that key, the key-up status change is pushed.
122-
123-
### A couple algorithms that could be implemented in the future:
124-
* ```sym_defer_pr```
125-
* ```sym_eager_g```
126-
127-
### Use your own debouncing code
128-
You have the option to implement you own debouncing algorithm. To do this:
129-
* Set ```DEBOUNCE_TYPE = custom``` in ```rules.mk```.
130-
* Add ```SRC += debounce.c``` in ```rules.mk```
131-
* Add your own ```debounce.c```. Look at current implementations in ```quantum/debounce``` for examples.
110+
Name of algorithm is one of:
111+
112+
| Algorithm | Description |
113+
| --------------------- | ----------- |
114+
| `sym_defer_g` | Debouncing per keyboard. On any state change, a global timer is set. When `DEBOUNCE` milliseconds of no changes has occurred, all input changes are pushed. This is the highest performance algorithm with lowest memory usage and is noise-resistant. |
115+
| `sym_defer_pr` | Debouncing per row. On any state change, a per-row timer is set. When `DEBOUNCE` milliseconds of no changes have occurred on that row, the entire row is pushed. This can improve responsiveness over `sym_defer_g` while being less susceptible to noise than per-key algorithm. |
116+
| `sym_defer_pk` | Debouncing per key. On any state change, a per-key timer is set. When `DEBOUNCE` milliseconds of no changes have occurred on that key, the key status change is pushed. |
117+
| `sym_eager_pr` | Debouncing per row. On any state change, response is immediate, followed by `DEBOUNCE` milliseconds of no further input for that row. |
118+
| `sym_eager_pk` | Debouncing per key. On any state change, response is immediate, followed by `DEBOUNCE` milliseconds of no further input for that key. |
119+
| `asym_eager_defer_pk` | Debouncing per key. On a key-down state change, response is immediate, followed by `DEBOUNCE` milliseconds of no further input for that key. On a key-up state change, a per-key timer is set. When `DEBOUNCE` milliseconds of no changes have occurred on that key, the key-up status change is pushed. |
120+
121+
?> `sym_defer_g` is the default if `DEBOUNCE_TYPE` is undefined.
122+
123+
?> `sym_eager_pr` is suitable for use in keyboards where refreshing `NUM_KEYS` 8-bit counters is computationally expensive or has low scan rate while fingers usually hit one row at a time. This could be appropriate for the ErgoDox models where the matrix is rotated 90°. Hence its "rows" are really columns and each finger only hits a single "row" at a time with normal usage.
124+
125+
### Implementing your own debouncing code
126+
127+
You have the option to implement you own debouncing algorithm with the following steps:
128+
129+
* Set `DEBOUNCE_TYPE = custom` in `rules.mk`.
130+
* Add `SRC += debounce.c` in `rules.mk`
131+
* Implement your own `debounce.c`. See `quantum/debounce` for examples.
132132
* Debouncing occurs after every raw matrix scan.
133-
* Use num_rows rather than MATRIX_ROWS, so that split keyboards are supported correctly.
134-
* If the algorithm might be applicable to other keyboards, please consider adding it to ```quantum/debounce```
133+
* Use num_rows instead of MATRIX_ROWS to support split keyboards correctly.
134+
* If your custom algorithm is applicable to other keyboards, please consider making a pull request.

docs/feature_encoders.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ Using encoder mapping pumps events through the normal QMK keycode processing pip
102102
103103
## Callbacks
104104
105-
When not using `ENCODER_MAP_ENABLE = yes`, the callback functions can be inserted into your `<keyboard>.c`:
105+
?> [**Default Behaviour**](https://github.com/qmk/qmk_firmware/blob/master/quantum/encoder.c#L79-#L98): all encoders installed will function as volume up (`KC_VOLU`) on clockwise rotation and volume down (`KC_VOLD`) on counter-clockwise rotation. If you do not wish to override this, no further configuration is necessary.
106106
107-
?> Those who are adding new keyboard support where encoders are enabled at the keyboard level should include basic encoder functionality at the keyboard level (`<keyboard>.c`) using the `encoder_update_kb()` function, that way it works for QMK Configuator users and exists in general.
107+
If you would like the alter the default behaviour, and are not using `ENCODER_MAP_ENABLE = yes`, the callback functions can be inserted into your `<keyboard>.c`:
108108
109109
```c
110110
bool encoder_update_kb(uint8_t index, bool clockwise) {
@@ -113,9 +113,9 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
113113
}
114114
if (index == 0) { /* First encoder */
115115
if (clockwise) {
116-
tap_code_delay(KC_VOLU, 10);
116+
tap_code(KC_PGDN);
117117
} else {
118-
tap_code_delay(KC_VOLD, 10);
118+
tap_code(KC_PGUP);
119119
}
120120
} else if (index == 1) { /* Second encoder */
121121
if (clockwise) {
@@ -134,9 +134,9 @@ or `keymap.c`:
134134
bool encoder_update_user(uint8_t index, bool clockwise) {
135135
if (index == 0) { /* First encoder */
136136
if (clockwise) {
137-
tap_code_delay(KC_VOLU, 10);
137+
tap_code(KC_PGDN);
138138
} else {
139-
tap_code_delay(KC_VOLD, 10);
139+
tap_code(KC_PGUP);
140140
}
141141
} else if (index == 1) { /* Second encoder */
142142
if (clockwise) {
@@ -149,7 +149,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
149149
}
150150
```
151151
152-
!> If you return `true` in the keymap level `_user` function, it will allow the keyboard level encoder code to run on top of your own. Returning `false` will override the keyboard level function, if setup correctly. This is generally the safest option to avoid confusion.
152+
!> If you return `true` in the keymap level `_user` function, it will allow the keyboard/core level encoder code to run on top of your own. Returning `false` will override the keyboard level function, if setup correctly. This is generally the safest option to avoid confusion.
153153
154154
## Hardware
155155

0 commit comments

Comments
 (0)