Compare commits

...

446 Commits

Author SHA1 Message Date
3e1ac7a38f Fixes for encoder abstraction. (#23195) 2024-03-10 22:24:17 +11:00
be42ea306b KBDfans KBD19x Layout Additions (#23230)
* Add layout/matrix diagram

[docs]

* Re-sort JSON `layouts` object

Moves the `LAYOUT_all` object to be first in sequence.

[refactor]

* Add `LAYOUT_ansi_split_bs`

[enhancement]

* Add `LAYOUT_iso_split_bs`

[enhancement]

* Add `LAYOUT_ansi_wkl_split_bs`

[enhancement]

* Add `LAYOUT_ansi_wkl`

[enhancement]

* Add `LAYOUT_iso_wkl_split_bs`

[enhancement]

* Add `LAYOUT_iso_wkl`

[enhancement]
2024-03-09 23:04:00 -08:00
900e79febe Attempt to deal with GCC 13+ and rv32 arch extensions. (#23086) 2024-03-09 21:40:19 +11:00
fec2323089 Orthograph: correct layout data (#23213)
* correct layout data

Correct the key sizes and positions in the layout data.

[chore]

* remove layout offset

Remove the dead space from the layout data.

[chore]
2024-03-09 01:26:33 +00:00
a8991722bc Xiudi XD96 Layout Bugfixes and Touch-Up (#23242)
* Correct AliExpress Hardware Availability link in readme

Previous URL linked to a Cospad listing.

[chore]
[docs]

* Convert `info.json` to four-space indent

[style]

* Correct `LAYOUT_all` matrix data

The right half of split Backspace is actually located at [5, 9], not
[5, 3].

[bugfix]

* Correct `LAYOUT_96_iso` matrix data

Corrects the matrix positions of the ISO Hash/Tilde and ISO Enter keys
to [3, 12] and [3, 13], respectively.

[bugfix]

* Add layout/matrix diagram

[docs]

* Refactor keymaps

- remove "inline block" comments
- grid-align keycodes
- use four-space indent

[style]
2024-03-09 01:24:31 +00:00
62e2cb9286 [Keyboard] Add sf2040 (#23211)
Co-authored-by: jack <0x6a73@protonmail.com>
2024-03-08 11:44:32 -08:00
113d3d6001 [Keyboard] Add CMK11 (#23239)
* adding cmk11

* correcting default keymap

* removing rules.mk

* removing unnecessary comment
2024-03-08 08:40:32 -07:00
8946aace5b Add instructions for debugging ARM with VSCode+BMP. (#11217) 2024-03-08 22:24:11 +11:00
0a03fc512c [Keyboard] Add Ejectix (#23204)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-03-08 02:51:37 -08:00
30b0600ea2 [Keyboard] Add 60XT (#23210)
Co-authored-by: jack <0x6a73@protonmail.com>
2024-03-08 02:51:00 -08:00
4443fa8a32 Attempt to fix changed files on CI workflow (#23205) 2024-03-05 16:59:09 +00:00
7836906f3e Bump peter-evans/create-pull-request from 5 to 6 (#22995)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 22:48:25 +11:00
9ae4d01e33 Iron180 V2 H: correct key sizes (#23214) 2024-03-04 19:42:37 +00:00
73bddf0ea6 mntre_v3: correct layout data (#23216) 2024-03-04 19:41:55 +00:00
1919644934 Iron180 V2 S: correct ANSI Enter key sizes (#23215) 2024-03-04 19:40:16 +00:00
092ef661af Workaround for uart makefile issues (#23192) 2024-03-02 18:20:18 +00:00
21276de7d5 Normalise .editorconfig. (#23186) 2024-03-02 23:23:34 +11:00
c060876692 Remove cd suggestion from new-keyboard (#23194) 2024-03-02 23:23:25 +11:00
1875659df0 CLI Speed improvements. (#23189) 2024-03-02 08:45:01 +11:00
8b8f73098b Fix up AVR production build target. (#23190) 2024-03-02 08:44:51 +11:00
3b76a3a323 Fixing typos for OSAv2 and OSAv2_Topre (#23161)
Correcting tilde to grave, fixing a typo in ec.c, and removing some comments that were accidentally left in.
2024-03-01 18:03:56 +00:00
012b101b2e geistmaschine/geist: enable mousekey, fix issues in default/via keymap (#23187) 2024-03-01 09:18:19 -07:00
4e369d405a Merge branch 'develop' 2024-02-28 21:47:37 +11:00
dd1706e468 Merge point for 2024q1 Breaking Change 2024-02-28 21:46:31 +11:00
dc046bc215 2024q1 develop changelog. (#23150) 2024-02-28 21:39:19 +11:00
29891b63f9 Update Atmel DFU driver assignments for dfu-programmer 1.x (#23165) 2024-02-28 21:03:43 +11:00
51cfd7554a Merge upstream uf2conv.py changes (#23163) 2024-02-28 20:29:00 +11:00
b3462157dc Satisfaction75 post merge updates (#23158) 2024-02-27 12:48:11 +00:00
bafbca3604 Ensmallification of helix/rev3_5rows:via. (#23159) 2024-02-27 12:45:46 +11:00
490641307a Cleanup Satisfaction75 Firmware and add new revisions (#22082)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-02-27 09:16:00 +11:00
0f701c7dbe cipulot/common: Fix for multiple AMUX usage (#23155) 2024-02-26 13:38:52 +00:00
ed791972e1 Cipulot refactoring (#22368)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-26 13:05:10 +11:00
34a113c97b Nix shell updates (Nixpkgs 2024-02-23, QMK CLI 1.1.5) (#23143) 2024-02-26 13:04:27 +11:00
65a04ead32 LED drivers: update keyboard LED configs (#23073)
* IS31FL3733: update keyboard LED config

* IS31FL3736: update keyboard LED config

* IS31FL3737: update keyboard LED config

* IS31FL3741: update keyboard LED config

* IS31FL3743A: update keyboard LED config

* AW20216S: update keyboard LED config

* SNLED27351: update keyboard LED config
2024-02-25 21:29:37 +00:00
14d1d9639c Add LED/RGB Matrix drivers to info.json schema (#23127) 2024-02-25 21:29:25 +00:00
56802f506c Ensure qmk generate-compilation-database copies to userspace as well. (#23129) 2024-02-22 12:47:42 +00:00
c6668b9cd9 Migrate RGBLED_NUM -> RGBLIGHT_LED_COUNT in remaining non-user keymaps (#23128) 2024-02-22 10:10:16 +00:00
c371cb3bc4 IS31FL3729 updates (#23109) 2024-02-22 17:51:49 +11:00
b25d4f62c1 Merge remote-tracking branch 'origin/master' into develop 2024-02-21 22:36:08 +00:00
4e04da397e [Keyboard] Add the Compensator (#23103)
* Pushed up compensator start

* Addressed Firmware Changes

* Fixed some keybind issues

* Updated readMe

* Added keymap

* Adjustments for PR

* adjusted on-state

* Applied sugguested changes

* Addressed PR changes

* Addressed macro comments

* Addressed layer comments
2024-02-21 15:35:39 -07:00
b26e5c585b Manual user keymap removal (#23119) 2024-02-20 22:22:00 +00:00
b7b00d58b8 Fixup inett_studio/sq80 (#23121) 2024-02-20 17:04:04 +00:00
61fa6949fb [Core] Allow ChibiOS SIO driver for UART driver (#22839)
* onekey: stm32f3_disco: add usart pins and activate peripheral

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: change SD1 prefix to UART

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: add SIO driver and RP2040 compatibility

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Update platforms/chibios/drivers/uart.h

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-20 11:34:24 +01:00
865a8f42a6 WS2812 bitbang: prefix for NOP_FUDGE define (#23110) 2024-02-20 21:13:18 +11:00
e198643d66 Merge remote-tracking branch 'origin/master' into develop 2024-02-20 00:45:57 +00:00
7df44ffb75 Fix double code indenting (#23117) 2024-02-20 00:45:25 +00:00
66780783c7 [Bug] Fix pmw33xx sensor corruption on get-cpi call (#23116) 2024-02-20 11:36:28 +11:00
6efb71d401 Merge remote-tracking branch 'origin/master' into develop 2024-02-19 21:51:32 +00:00
672986a078 [Keyboard] Add moky88 (#22954)
* Update

* 代码对齐

* 修改键盘名称

* 增加Readme

* Add copyright notice

* Update keyboards/moky/moky88/info.json

Delete solid_color

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/moky88.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/config.h

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/keymaps/via/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/keymaps/default/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/moky/moky88/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/moky/moky88/keymaps/default/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/moky/moky88/keymaps/via/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/moky/moky88/config.h

Co-authored-by: Joel Challis <git@zvecr.com>

* Add a key to enter the bootloader, and add instructions to the readme documentation

* delete maintainer

* add default/rules.mk

* Update readme.md

* Update readme.md

---------

Co-authored-by: vertor <zhen.wang@westberrytech.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-02-19 14:51:04 -07:00
b06ade9284 Merge remote-tracking branch 'origin/master' into develop 2024-02-19 21:48:48 +00:00
958ddea52e [Keyboard] Add iNETT Studio SQUARE 80% (#21082)
This keyboard comes stock with a forked version of QMK that is quite
outdated at this point.

I decided to go with the name `sq80` to stay in line with the existing
`sqx`, and "SQ80" has been used in some of the communication from the
creators.
2024-02-19 14:48:17 -07:00
2f3383a11e Fix make clean test:os_detection (#23112) 2024-02-19 19:48:59 +00:00
9f95577ef2 OS Detection - Entire file should not be wrapped with ifdef (#23108) 2024-02-19 15:37:51 +00:00
8df2e70ae4 Late9 keymaps update, added VIA support (#22801) 2024-02-19 11:23:33 +00:00
bc7d1cc397 Refactor: group kbdfans keyboards (#22764)
Move two kbdfans keyboard into kbdfans folder
2024-02-19 11:18:20 +00:00
e26e12402b Manual user keymap removal (#23104) 2024-02-19 09:48:06 +00:00
db1df185c9 Fixup boardsource/equals (#23106)
* initial

* reorder headers
2024-02-18 23:01:25 -07:00
9d9cdaaa2d Add encoder abstraction. (#21548) 2024-02-18 21:17:15 +11:00
2eb9ff8efd Remove obvious user keymaps, keyboards/{i,j,k}* edition (#23102) 2024-02-18 08:20:57 +00:00
2d1aed78a6 Update GPIO macro usages in core (#23093) 2024-02-18 17:08:27 +11:00
6810aaf013 [Refactor] qmk find (#21096) 2024-02-17 12:28:40 +00:00
e2dbe39b94 Removal of bootmagic lite terminology (#22979) 2024-02-17 12:27:34 +00:00
5383335717 [Driver] ILI9486 on Quantum Painter (#18521)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-02-17 18:36:05 +11:00
39627c7620 Merge remote-tracking branch 'origin/master' into develop 2024-02-16 23:35:41 +00:00
496d093fc3 [Keyboard] Add chlx ppr merro (#23014)
* add ppr files

* update readme

* update imgur link

* Update keyboards/chlx/ppr_merro60/keymaps/default/keymap.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/keymaps/via/keymap.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

* run 'qmk format-json -i info.json'

* Update keyboards/chlx/ppr_merro60/readme.md

Co-authored-by: Joel Challis <git@zvecr.com>

* remove 60_ansi_split_bs_rshift from list of avail layouts

* Update keyboards/chlx/ppr_merro60/keymaps/via/rules.mk

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/chlx/ppr_merro60/keymaps/via/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/chlx/ppr_merro60/readme.md

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/chlx/ppr_merro60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* add ansi variants

* row / col was flipped from last working version. local corruption. update row/col and working test.

* Apply suggestions from code review

---------

Co-authored-by: chalex <alejandrelee+magbogbro@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2024-02-16 16:35:10 -07:00
f6dc3569bc Merge remote-tracking branch 'origin/master' into develop 2024-02-16 23:23:31 +00:00
83a3357e74 [Keyboard] Added MW60 (#22505)
* Init files

* Update keyboards/buildakb/mw60/readme.md

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* Update keyboards/buildakb/mw60/readme.md

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* fixed stuff

* Update readme

* Update keyboards/buildakb/mw60/rules.mk

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/keymaps/default/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/keymaps/via/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/info.json

Co-authored-by: jack <0x6a73@protonmail.com>

* formatted info.json, removed config.h

* Update keyboards/buildakb/mw60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/buildakb/mw60/keymaps/default/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update keyboards/buildakb/mw60/keymaps/default/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update keyboards/buildakb/mw60/keymaps/via/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* formatted info.json

---------

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-02-16 16:23:00 -07:00
560df40c4d Fixup kbd67/rev1 (#23096) 2024-02-16 16:12:51 -07:00
07aee9af0e Fiuxup takashicompany/heavy_left (#23094)
* initial

* revert ee_hands
2024-02-16 10:22:48 -07:00
ba4c8238cb Fixup sawnsprojects/krush60 (#23095) 2024-02-16 10:22:36 -07:00
f6709e65eb Add RGB matrix & LED Matrix support for IS31FL3729 (#21944)
Co-authored-by: Xelus22 <preyas22@gmail.com>
Co-authored-by: dexter93 <d3xter93@gmail.com>
2024-02-17 01:41:35 +11:00
9b0b3d7b25 [Enhancement] Prepare for SyntaxWarning (#22562) 2024-02-16 14:34:43 +00:00
80f3da36e5 [Core] Add OS detection callbacks (#21777) 2024-02-17 01:19:02 +11:00
77e8867498 Fix joystick initialization (#22953) 2024-02-17 01:14:46 +11:00
13434fc066 Insert delay between shifted chars in send_string_with_delay (#19280) 2024-02-17 01:01:01 +11:00
3a0f11a661 [QP] Native palette support for fonts (#20645)
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-17 00:58:00 +11:00
cf162f90fe [Refactor] Break QGFImageFile's _save function into smaller pieces (#21124) 2024-02-16 13:40:21 +00:00
78a74ca974 [Keymap Removal] keyboard with most keymaps (#23092) 2024-02-16 13:25:44 +00:00
b8646bc40b Update naming convention for GPIO control macros (#23085) 2024-02-17 00:18:26 +11:00
6890c1aeb8 Workaround for make test:all DEBUG=1 (#23047) 2024-02-16 09:54:09 +00:00
5233a62b20 Remove obvious user keymaps, keyboards/{s,t}* edition. (#23084) 2024-02-15 09:42:01 +00:00
f8123c27ad Remove obvious user keymaps, keyboards/{v,x,y,z}* edition. (#23083) 2024-02-15 09:14:06 +00:00
4a128c6062 [Keymap Removal] keyboard with most keymaps (#23081)
* splitkb/kyria

* lily58

* gmmk/pro/rev1/ansi

* lets_split
2024-02-15 08:23:23 +00:00
a9f1105f98 LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin

* Update candidate boards
2024-02-15 07:11:50 +00:00
0b7df03ab7 AW20216S: combine EN pin defines (#23067) 2024-02-15 07:05:08 +00:00
75c6afaa7f Merge remote-tracking branch 'origin/master' into develop 2024-02-14 21:52:19 +00:00
b7b14678b2 [Keyboard] Add rot13labs rotc0n macropad (#23028)
* asdds rot13labs rotc0n macropad

* Update keyboards/rot13labs/rotc0n/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Delete keyboards/rot13labs/rotc0n/config.h

removing config.h

* Update keyboards/rot13labs/rotc0n/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

---------

Co-authored-by: c0ldbru <c0ldbrusec@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-02-14 14:51:50 -07:00
32efd14186 Merge remote-tracking branch 'origin/master' into develop 2024-02-14 18:31:49 +00:00
1e7c2a8926 Added SoyuzXL Macropad (#23075)
* added mercury macropad WWA

* Revert "added mercury macropad WWA"

This reverts commit 81b48185d37ad704781c07bf6d9df2203a897de7.

* added Mercury macropad WWA

* added Soyuz Macropad

* Added Soyuz XL Macropad
2024-02-14 11:31:19 -07:00
4a64d47f12 Migrate WEAR_LEVELING_* to info.json (#23077) 2024-02-14 08:54:24 +00:00
50c5403612 Merge remote-tracking branch 'origin/master' into develop 2024-02-14 02:20:35 +00:00
1ddff6e30d Added Soyuz Macropad WWA (#23072)
* added mercury macropad WWA

* Revert "added mercury macropad WWA"

This reverts commit 81b48185d37ad704781c07bf6d9df2203a897de7.

* added Mercury macropad WWA

* added Soyuz Macropad
2024-02-13 19:20:04 -07:00
51a1e3d58d Update vid, pid, and add via keymap (#23063) 2024-02-14 02:03:50 +00:00
ff884d8968 Remove invalid keyboard level features (#23074) 2024-02-14 01:58:24 +00:00
7be40fd143 Migrate RGB Matrix config to info.json (#23000) 2024-02-14 00:55:39 +00:00
974e98ce59 Migrate RGB Matrix config to info.json (#22998) 2024-02-14 00:54:14 +00:00
c8c55e3220 is31fl3741: split PWM and scaling buffers (#23049) 2024-02-14 11:16:27 +11:00
2ddf8635c8 Merge remote-tracking branch 'origin/master' into develop 2024-02-14 00:04:40 +00:00
c4414af9f3 [Keyboard] Add Mercury Macropad (#23071)
* added mercury macropad WWA

* Revert "added mercury macropad WWA"

This reverts commit 81b48185d37ad704781c07bf6d9df2203a897de7.

* added Mercury macropad WWA
2024-02-13 17:04:05 -07:00
97640efdbe Merge remote-tracking branch 'origin/master' into develop 2024-02-13 21:40:31 +00:00
c5a75eb16f [Keyboard] Add Artifact LvL 1 HS (#22964)
* initial commit lvl1

* Add APM32 option

* update stuff:)

* White

* Update to yaml

* Update keyboards/artifact/lvl/rev_hs01/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update info.json

* Update info.json

Ups...

* Update mcuconf.h

* Update halconf.h

* Update info.json

* Update keyboards/artifact/lvl/rev_hs01/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

---------

Co-authored-by: yiancar <yiancar@gmail.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-02-13 14:40:01 -07:00
0cad5e9d4a Refactor: move p3d keyboards (#22763)
Group standalone p3dstore keyboards into p3d folder
2024-02-12 16:37:17 -07:00
98a68b68a4 Fix git-submodule running in wrong location (#23059) 2024-02-12 10:02:44 +00:00
cd69ca6527 Merge remote-tracking branch 'origin/master' into develop 2024-02-12 08:50:27 +00:00
23d21c85fe El Cantor HS. Update info.json (#23020)
Fix for wrong key's placement.
2024-02-12 01:49:58 -07:00
3ba88f7798 LED drivers: update PWM register defines for g_<driver>_leds (#23052) 2024-02-12 02:19:45 +00:00
3e5f5bda4a Merge remote-tracking branch 'origin/master' into develop 2024-02-12 01:26:49 +00:00
cfe8c4dee3 Add Sha keyboard (#22664)
* Implement Sha keyboard with default layout

* Adjust readme and info.json per PR checklist

* Fix RGB Light description in default keymap readme

* Update keyboards/sha/rules.mk

Move configuration to info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/sha/info.json

Move configuration to info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/sha/info.json

Move configuration to info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/sha/info.json

Define RGB animations in info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Enable RGB Lighting Layers at keymap level, not keyboard level

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-11 18:26:22 -07:00
72ce2655aa Fix unit test execution (#23048) 2024-02-12 01:19:40 +00:00
5c5ddeba40 [unicorne] Add a layout alias (#23056)
Add a `LAYOUT` alias to support copying of keymaps from crkbd
2024-02-12 01:03:24 +00:00
66015f1645 LED drivers: create structs to hold PWM/scaling buffers (#22955) 2024-02-10 18:48:13 +11:00
a5ea619139 LED drivers: place I2C addresses into an array (#22975) 2024-02-09 22:37:18 +11:00
137938b67a Migrate dip switch config to info.json - keychron (#23037) 2024-02-09 06:56:13 +00:00
e7b84e1cf6 Flag invalid keyboard features during lint (#22832) 2024-02-08 06:34:48 +00:00
ffc45ac80c Remove ee_hands config from ferris/sweep firmware (#23029) 2024-02-06 16:25:15 -08:00
3f6e362b8d Merge remote-tracking branch 'origin/master' into develop 2024-02-06 07:09:53 +00:00
45ae4dec4d WS2812: Better error message when trying to use bitbang driver on RP2040 (#23025) 2024-02-06 08:09:22 +01:00
93f20e012e Workaround for G431 eeprom emulation (#23002) 2024-02-03 19:09:18 +00:00
16800ea8a5 Merge remote-tracking branch 'origin/master' into develop 2024-02-03 16:17:37 +00:00
fa2fb9bbe0 KK65 VID Correction (#23007) 2024-02-03 16:17:07 +00:00
11c631027c Merge remote-tracking branch 'origin/master' into develop 2024-02-03 00:50:11 -08:00
e97ec68692 Add GreatPad macropad under gkeyboard (#22696)
* Add GreatPad under gkeyboard

Add GreatPad macropad

* Update keyboards/gkeyboard/greatpad/config.h

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/greatpad.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/info.json

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/info.json

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Add a license header

 Add a license header to glcdfont.c

* Update glcdfont.c

* delete file

* Revert "delete file"

This reverts commit 388e6f03e47bd646df374e37cd82fc3c46330b38.

* Update keyboards/gkeyboard/greatpad/mcuconf.h

Co-authored-by: jack <0x6a73@protonmail.com>

* Update .vscode/settings.json

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/gkeyboard/greatpad/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Enable encoder

Enable encoder in file info.json

* Update keyboards/gkeyboard/greatpad/greatpad.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update info.json

Run qmk format-json -i file info.json

---------

Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-02-02 09:01:10 -07:00
39f06c3afb [Keyboard] Add dnworks numpad (#22882)
* add dnworks numpad

* Apply suggestions from code review (Added community layouts)

Co-authored-by: Drashna Jaelre <drashna@live.com>

* fix linting

* formatted json

---------

Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-02-02 08:37:03 -07:00
06ed8dd14f Add ScottoDeck handwired macropad (#22935)
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-01 11:05:12 -08:00
20886529c5 Add Valhalla v2 PCB support (#22914)
Co-authored-by: jack <0x6a73@protonmail.com>
2024-02-01 11:04:59 -08:00
2f37a7854d Migrate lighting defaults to info.json (#22920) 2024-02-01 18:10:14 +00:00
7d5b4adc50 Fix Issue with RGB Matrix not understanding the split keyboard (#22997) 2024-02-01 17:12:37 +00:00
3a13c2120a Ensure LTO is enabled as a info.json build config option (#22932)
* feature.lto -> build.lto

* keymaps too
2024-02-01 15:45:58 +00:00
79020519b4 Align VUSB suspend protocol logic (#22688) 2024-02-01 15:33:57 +00:00
6761936fcd Migrate RGB Matrix config to info.json - K (#22911) 2024-02-01 12:05:29 +00:00
3dee67a05a Remove redundant steno eeconfig init (#22680) 2024-02-01 11:58:30 +00:00
98f0c5ee24 Fixup doio/kb16 (#22921) 2024-02-01 11:56:05 +00:00
c390292e1c H87g2 updates (#22819)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-01-31 23:46:55 -08:00
382c3bd0bd Add Doio KB04 (#22754)
Co-authored-by: Joel Challis <git@zvecr.com>
2024-01-31 23:46:08 -08:00
276130bdef Theone keyboard (#22749)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-01-31 23:28:39 -08:00
5c84d935f9 [Keyboard] Add mntre_v3 (#22739) 2024-01-31 23:26:05 -08:00
6fed854e58 add ISO layouts for alfredlabs/swift65/solder (#22672) 2024-01-31 23:15:45 -08:00
9ac6eeaaa6 [Keyboard] Update Keychron Q9 (#22579)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-31 22:11:47 -08:00
a0bc47fcd2 [Keyboard] Update Keychron Q7 (#22577)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-31 22:11:32 -08:00
252f01f2e7 [Keyboard] Update Keychron Q5 (#22575)
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-31 22:11:01 -08:00
997f04b636 add matrix diagram for hineybush/h101 (#22252) 2024-01-31 18:23:02 -08:00
Ben
33a3cd26ab [Keyboard] Add Kimiko Rev2 (#21719)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Co-authored-by: Ex3c4Def <Joe_No@gmx.net>
Co-authored-by: Ben Roe <ben@MacBookzPro-M2.lan>
Co-authored-by: Ben Roe <ben@MacBook-Pro-von-Ben.local>
2024-01-31 18:21:59 -08:00
9098cdd376 Merge remote-tracking branch 'origin/master' into develop 2024-02-01 01:57:56 +00:00
f3d3b16ebb [Keyboard] Add Zed1800 platform PCB (#19250)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-01-31 17:57:46 -08:00
7ebeb5d93f [Keyboard] Add Synth Labs 065 Keyboard (#21040)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2024-01-31 17:57:21 -08:00
c9b26a786c Merge remote-tracking branch 'origin/master' into develop 2024-01-31 15:01:52 +00:00
d8cda43d14 [Keyboard] Add BINEPAD BNK9 (#22831) 2024-01-31 15:01:22 +00:00
bfcf3c139d Remove always enabled effects from lighting animation list (#22992)
* Remove 'solid_color' from animation list

* Remove 'solid'/'none' from animation list
2024-01-31 10:03:24 +00:00
22194a4014 Merge remote-tracking branch 'origin/master' into develop 2024-01-31 07:21:04 +00:00
777a6e0e58 [Keyboard] Add rena (#22902)
* Added keyboard rena

* format file info.json

* modify info.json file

* modify 16mhz to 8mhz

* modify info.json file

* Delete redundant Spaces

* Delete redundant Spaces

* Delete redundant Spaces

* Delete redundant Spaces

---------

Co-authored-by: “yuezp” <“yuezpchn@126.com”>
2024-01-31 00:20:32 -07:00
2f58eed8f9 Add FS streampad (#22991)
Co-authored-by: jack <0x6a73@protonmail.com>
2024-01-30 19:35:26 -08:00
f2684dcfc1 Merge remote-tracking branch 'origin/master' into develop 2024-01-31 03:34:49 +00:00
0a6a203fb5 Update asymmetric debounce code comment (#22981) 2024-01-30 19:34:45 -08:00
18f8e51cb7 Added WT65-H2 (Bauer Lite) (#22885) 2024-01-30 19:34:20 -08:00
b910b1261d Init pins for Analog Joystick sensor (#22985) 2024-01-30 23:20:30 +00:00
5a4531427d Merge remote-tracking branch 'origin/master' into develop 2024-01-30 20:20:55 +00:00
a4b124e906 [Keyboard] Add KK65 (#22772)
* adding my keyboard

* Update keyboards/kk/65/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/kk/65/keymaps/via/rules.mk

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/kk/65/info.json

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/kk/65/keymaps/default/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/kk/65/rules.mk

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Update keyboards/kk/65/keymaps/via/keymap.c

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

* Added photo imgur photo link to readme.md

* Adjusted keyboard level config and added config files with tapping_toggle to keymaps.

* Update keyboards/kk/65/readme.md

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Migrated qmk.locking settings to info.json and removed config.h

* Update keyboards/kk/65/keymaps/default/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update keyboards/kk/65/keymaps/via/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

---------

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-01-30 13:20:24 -07:00
734c7afa7d Add missing rgb matrix default parameters (#22281) 2024-01-30 14:56:32 +11:00
ca7b2d63a7 Sango Keyboard (#22971)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2024-01-29 12:08:13 -08:00
0a50599544 Merge remote-tracking branch 'origin/master' into develop 2024-01-29 19:28:59 +00:00
567f808ea5 [Doc] Use number indexes for encoder code example (#22980) 2024-01-29 19:28:23 +00:00
5cd31fda9c Begin removal of bootmagic lite terminology (#22970) 2024-01-28 22:51:58 +00:00
bb71145632 Tidy up print/debug logging headers (#22969) 2024-01-27 04:30:29 +00:00
f2299ee5f8 Azoteq driver: Remove call to removed i2c function (#22966) 2024-01-26 20:20:04 +01:00
a632593769 Migrate and remove deprecated debug utils (#22961) 2024-01-26 16:32:06 +00:00
728aa576b0 LED drivers: update I2C API usage (#22951) 2024-01-24 12:11:41 +11:00
d96ac7084e LED drivers: remove write_pwm_buffer() from public API (#22884) 2024-01-24 09:18:44 +11:00
e446366326 Fixup sofle (#22934)
* initial

* Update keyboards/sofle/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/sofle/info.json

Co-authored-by: Drashna Jaelre <drashna@live.com>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-01-23 13:51:31 +00:00
2c3d0126ba crique zidle fix (#22948) 2024-01-23 10:05:59 +00:00
e46285b928 Merge remote-tracking branch 'origin/master' into develop 2024-01-23 10:02:34 +00:00
b7468f4785 Workaround for dfu-programmer on Fedora 39 (#22945) 2024-01-23 10:02:03 +00:00
a62fefe84b refactor (keyboard): quokka (#22942)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-01-22 18:28:22 -08:00
61ed48edc3 Merge remote-tracking branch 'origin/master' into develop 2024-01-22 13:18:51 +00:00
3495cbc638 Fix missing joystick.h include (#22946) 2024-01-22 13:18:20 +00:00
2655ce58f9 Merge remote-tracking branch 'origin/master' into develop 2024-01-22 11:36:23 +00:00
cdbfcb6c14 Add lock indicators for KLC x TGR LENA (#22931) 2024-01-22 11:36:05 +00:00
58721a433b Move layout macro OOB checks to lint (#22610) 2024-01-22 11:35:51 +00:00
548983abc8 Merge remote-tracking branch 'origin/master' into develop 2024-01-20 19:47:19 +00:00
1522695cef Add VIA support for Atreus62 (#22913)
Co-authored-by: Tommi Pääkkö <tommi.paakko@symbio.com>
2024-01-20 11:46:52 -08:00
a213085640 Merge remote-tracking branch 'origin/master' into develop 2024-01-20 19:43:34 +00:00
a31707fdc2 Add Iris CE Rev. 1 (#22930)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2024-01-20 11:43:04 -08:00
a9e9a533aa Merge remote-tracking branch 'origin/master' into develop 2024-01-19 21:12:23 +00:00
62d19fc2ac Copy compile_commands.json to userspace, if in use. (#22925) 2024-01-20 08:11:17 +11:00
f6a70e45c2 Fixup takashicompany/minizone (#22922)
* initial

* remove bootloader
2024-01-18 22:01:43 -07:00
d7727a54bc Remove LAYOUTS_HAS_RGB (#22917) 2024-01-18 23:07:54 +00:00
9ddb6a56bd Merge remote-tracking branch 'origin/master' into develop 2024-01-18 20:16:19 +00:00
c38fdfec9c Bump tj-actions/changed-files from 41 to 42 (#22915)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 42.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 20:15:48 +00:00
e9bd7d7ad3 I2C driver cleanup (#21273)
* remove i2c_start and i2c_stop from i2c drivers

* remove static i2c_address variable from chibios i2c driver
2024-01-17 14:05:38 +01:00
2b0965944d qmk format-json: Force Unix line endings and ensure LF at EOF (#22901) 2024-01-16 17:13:58 +11:00
a522b1f156 i2c: rename read/write register functions (#22905) 2024-01-16 02:26:40 +00:00
e1f59a6efc Migrate RGB Matrix config to info.json - TUVW (#22910) 2024-01-16 01:16:31 +00:00
e30d0e5287 Migrate RGB Matrix config to info.json - M (#22908) 2024-01-16 01:04:09 +00:00
a90b45e832 Migrate RGB Matrix config to info.json - RS (#22909) 2024-01-16 01:03:55 +00:00
de6ae3408c [Keyboard] Add Olly JF Rev.2 (#21775)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-14 11:31:41 -08:00
1bebaa310a CLI: Allow generation of both LED and RGB Matrix config (#22896) 2024-01-14 10:33:58 +00:00
e2517ff9a4 Merge remote-tracking branch 'origin/master' into develop 2024-01-14 06:08:32 +00:00
dcc47ea31b Add Proteus67 keyboard (#22439)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-01-13 22:07:59 -08:00
265d4a78dd Merge remote-tracking branch 'origin/master' into develop 2024-01-14 06:07:05 +00:00
a81ae7dd04 Add tac-k1 keyboard (#22522)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-01-13 22:06:37 -08:00
4775e02794 Merge remote-tracking branch 'origin/master' into develop 2024-01-14 03:16:38 +00:00
114a43e1ea Add The Mad Noodle Udon13 (#22704)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2024-01-13 19:16:11 -08:00
9aaaa71aef Merge remote-tracking branch 'origin/master' into develop 2024-01-14 03:10:54 +00:00
33c5a64b5a add Cycle8 (#22734)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-13 19:10:26 -08:00
6e1e62936e [Keyboard] Fix typo in Redox config (#22899) 2024-01-13 22:31:04 +00:00
eb7ecae4b4 LED drivers: remove PWM register offsets (#22897) 2024-01-13 19:21:15 +00:00
db8c254d3d [Keyboard] Zed65/no_backlight/cor65 correct data layout (#22898) 2024-01-13 19:16:54 +00:00
6b52c6d83d Cirque reachable calibration aide (#22803)
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Johannes <you@example.com>
2024-01-13 00:28:09 -08:00
b659ef8278 Merge remote-tracking branch 'origin/master' into develop 2024-01-13 07:37:45 +00:00
624d0964c1 Added WT20-H1 (HIBI JUNIOR) (#22893) 2024-01-12 23:37:10 -08:00
fbb35fc257 Merge remote-tracking branch 'origin/master' into develop 2024-01-13 07:22:48 +00:00
bea97291dc Remove community layout from mode/m80*/m80*h (#22461) 2024-01-12 23:22:15 -08:00
3ae7015433 Merge remote-tracking branch 'origin/master' into develop 2024-01-13 07:14:13 +00:00
f401649855 add lets split v3 (#22465)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-12 23:13:45 -08:00
b1ea30ca7c Move redox_w into redox (#21448)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-12 22:44:44 -08:00
ceea0d72c1 Merge remote-tracking branch 'origin/master' into develop 2024-01-13 06:13:48 +00:00
452ac581a5 [Keyboard] pi60rgb_v2 (#22156)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-12 22:13:09 -08:00
c35b552510 Merge remote-tracking branch 'origin/master' into develop 2024-01-12 12:08:43 +00:00
c6ed3cdf10 Add more unwanted compilation output files to .gitignore. (#22894) 2024-01-12 12:08:11 +00:00
d9b1ab9ae0 pointing_device: motion pin define and c-format weirdness (#22802)
the mutual exclusive POINTING_DEVICE_MOTION_PIN and SPLIT_POINTING_ENABLE influence if and how the `pointing_device_driver.get_report` is triggered. now the way the define is wrapping around an "unbraced" if leads clang-format to weirdly indent the first line in the 'SPLIT_POINTING_ENABLE' as the first command after the if.

this hints that any code addition in between the two - that possibly should run regardless, would break the if-def enabled code.

this can be solved by adding a pair of curly braces in the POINTING_DEVICE_MOTION_PIN part, to clearly denote which commands are to be skipped if the motion pin shows now activity.

Co-authored-by: Johannes <you@example.com>
2024-01-10 17:38:13 +01:00
41948350e8 Migrate RGB Matrix config to info.json - NOPQ (#22866) 2024-01-10 09:55:09 +00:00
833abef115 Migrate RGB Matrix config to info.json - XZY (#22879) 2024-01-10 09:43:41 +00:00
58696a3937 LED drivers: switch to i2c_writeReg() (#22878) 2024-01-10 17:25:34 +11:00
7a3183b8c8 LED drivers: change write_pwm_buffer() return type to void (#22869) 2024-01-10 12:48:19 +11:00
8de8af6632 capsunlocked/cu80/v2: Fix invalid RGB matrix config (#22873) 2024-01-09 16:00:48 +00:00
b6b3efc14b Remove console out endpoint (#22304) 2024-01-09 14:01:34 +00:00
ccec4867c8 Align SPLIT_HAND_MATRIX_GRID left/right logic with SPLIT_HAND_PIN (#22775) 2024-01-09 22:24:53 +11:00
58806984a6 Merge remote-tracking branch 'origin/master' into develop 2024-01-09 11:24:39 +00:00
6cc56f3f8c Added skiller_sgk50_s3 keyboard (#22382)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-01-09 22:24:11 +11:00
6cdc00d046 [CI] Regenerate Files (#22872) 2024-01-09 22:18:34 +11:00
c1f6eb2e9e Merge remote-tracking branch 'origin/master' into develop 2024-01-09 11:15:47 +00:00
31fdf7d899 add pywinusb lib to list of example libs for HID (#22747) 2024-01-09 22:13:51 +11:00
f39386a112 Solid reactive: improve fading effect (#22656) 2024-01-09 22:12:42 +11:00
e67d2c2f6f Add Canadian French input locale (#21456)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-01-09 22:11:59 +11:00
744ac91f5e [Keyboard] Fix VID and PID for AnnePro2 (#22263) 2024-01-09 22:09:39 +11:00
1f6dfd19cf Ignore space cadet key release when caps word is active (#21721) 2024-01-09 22:07:10 +11:00
8b48f0dea3 MIDI sustain effect fix on qmk 0.22.2 (#22114) 2024-01-09 22:05:30 +11:00
8b671b9969 Merge remote-tracking branch 'origin/master' into develop 2024-01-09 10:46:13 +00:00
Kai
13f7b68240 Fix user hook call for dynamic_macro_record_key (#22250) 2024-01-09 21:45:44 +11:00
bd11ddc093 Merge remote-tracking branch 'origin/master' into develop 2024-01-09 10:18:17 +00:00
53f1e3b11f Lotus 58 Glow - Added Auto shift to OLED, corrected OLED orientation (#22424)
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
2024-01-09 21:17:46 +11:00
ce05dc6fa1 Add option for auto mouse movement threshold (#21398)
Fixes #21396
2024-01-09 21:16:50 +11:00
66050bb809 Migrate dynamic_keymap.layer_count < 4 where requried (#22091)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-01-09 21:15:03 +11:00
455cd65e80 Prevent qmk migrate processing unparsed info.json values (#22374) 2024-01-09 20:59:36 +11:00
34aa533246 Merge remote-tracking branch 'origin/master' into develop 2024-01-09 09:53:54 +00:00
89b46eedd5 Raise Circumflex from the grave in sendstring_french.h (#22285) 2024-01-09 20:53:26 +11:00
ff44edfad7 [Keyboard] Fix Piantor v2 3x5 layout issues (#22860) 2024-01-08 02:29:31 -08:00
8b95dc6e00 LED drivers: more formatting (#22865) 2024-01-08 17:28:40 +11:00
7467231158 snled27351: change write_register() return type to void (#22825) 2024-01-08 04:54:47 +00:00
368a2eb08f is31fl3733: change write_register() return type to void (#22824) 2024-01-08 04:54:26 +00:00
7fb8dd1440 Migrate RGB Matrix config to info.json - L (#22864) 2024-01-08 04:41:01 +00:00
ce34549c26 Migrate RGB Matrix config to info.json (#22863) 2024-01-08 04:27:01 +00:00
a45107e152 Migrate RGB Matrix config to info.json - H (#22861) 2024-01-08 02:15:50 +00:00
c7b59a96df Migrate RGB Matrix config to info.json - G (#22859) 2024-01-08 02:13:30 +00:00
0870b796b4 Migrate RGB Matrix config to info.json - J (#22862) 2024-01-08 02:10:56 +00:00
bdede8b2cd LED drivers: misc formatting and typos (#22857) 2024-01-08 12:24:10 +11:00
6e3cc56bdf Migrate RGB Matrix config to info.json - D (#22811) 2024-01-07 13:36:14 +00:00
7114eb25f8 WT boards: extract g_is31fl3736_leds from wt_mono_backlight (#22823) 2024-01-07 18:43:37 +11:00
4617b0cfe7 Merge remote-tracking branch 'origin/master' into develop 2024-01-07 07:38:24 +00:00
0b0c31665e Keychron Q1V1: fix incorrect 3733 address (#22852) 2024-01-07 18:37:56 +11:00
fa133aeea5 Merge remote-tracking branch 'origin/master' into develop 2024-01-07 07:36:50 +00:00
7e03877924 [Keyboard] Add ScottoKatana handwired keyboard (#22805) 2024-01-06 23:36:22 -08:00
42fced9514 Merge remote-tracking branch 'origin/master' into develop 2024-01-07 07:36:14 +00:00
31d28ba228 [Keyboard] Add Nordic65 by KBnordic (#22817)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: 4pplet <4pplet@protonmail.com>
Co-authored-by: 4pplet <stefan.ess@gmail.com>
2024-01-06 23:35:45 -08:00
b3f55cb5b2 apa102: cleanups (#22826) 2024-01-07 17:48:14 +11:00
e5203f86e2 is31fl3733: fix driver sync backwards compatibility defines (#22851) 2024-01-07 17:46:12 +11:00
71257e21e6 Generate true/false for _DEFAULT_ON options (#22829) 2024-01-06 13:16:23 +00:00
ee3540e8df Merge remote-tracking branch 'origin/master' into develop 2024-01-06 01:06:51 +00:00
a474cac2c3 Update keymap.md (#22834) 2024-01-06 12:06:14 +11:00
7ed3138e5f Remove PWM advanced check for WS2812 driver (#22830) 2024-01-05 12:27:55 +00:00
e09d84c47c Merge remote-tracking branch 'origin/master' into develop 2024-01-04 09:00:08 +00:00
d2b16962ff Merge remote-tracking branch 'origin/master' into develop 2024-01-04 07:29:02 +00:00
597de0e298 LED drivers: rename "simple" to "mono" (#22814) 2024-01-04 06:05:37 +00:00
1bd9b9204d Migrate RGB Matrix config to info.json - EF (#22808) 2024-01-04 06:04:57 +00:00
a5f1438f58 Migrate RGB Matrix config to info.json - C (#22807) 2024-01-04 06:00:47 +00:00
c412b7fc42 Migrate RGB Matrix config to info.json - B (#22806) 2024-01-04 06:00:28 +00:00
5267329caa Ensure LED config is extracted when feature is disabled (#22809)
* Ensure LED config is extracted when feature is disabled

* Only attempt LED search if dd led config is missing
2024-01-04 05:47:52 +00:00
f583d2fef0 Remove IS31FLCOMMON code (#22800) 2024-01-02 16:26:01 +11:00
8a6b7003f7 Migrate RGB Matrix config to info.json - [0-9] (#22797) 2024-01-02 03:07:28 +00:00
d59d768fea Keychron Q11 - Enable SPLIT_WATCHDOG (#22799) 2024-01-02 03:06:47 +00:00
60f0132bd5 Migrate RGB Matrix config to info.json - A (#22798) 2024-01-02 03:05:08 +00:00
0a6913b682 LED drivers: extract IS31FL3746A from IS31COMMON (#22637) 2024-01-01 21:44:18 +11:00
a88dd675bf LED drivers: extract IS31FL3745 from IS31COMMON (#22636) 2024-01-01 19:31:44 +11:00
ae2d5e2e5a LED drivers: extract IS31FL3743A from IS31COMMON (#22635) 2024-01-01 17:04:51 +11:00
0ea3203205 Temporary fix for mechlovin/olly/octagon (#22796) 2024-01-01 02:40:10 +00:00
b12b5485bc Update copyright year on generated files (#22795) 2024-01-01 02:25:20 +00:00
e1c0bd8a7c LED drivers: extract IS31FL3742A from IS31COMMON (#22620) 2024-01-01 12:40:35 +11:00
709d07aebc Migrate LED Matrix config to info.json (#22792) 2024-01-01 01:33:20 +00:00
ef356ddee6 Merge remote-tracking branch 'origin/master' into develop 2023-12-31 18:26:28 +00:00
a081fc7301 Merge remote-tracking branch 'origin/master' into develop 2023-12-29 16:17:49 +00:00
9e50faedae Remove incorrect use of WS2812_PIO_USE_PIO1 (#22771) 2023-12-28 17:07:40 +00:00
73f962766e Merge remote-tracking branch 'origin/master' into develop 2023-12-28 04:37:34 +00:00
a011b5ed5c Merge remote-tracking branch 'origin/master' into develop 2023-12-27 22:11:36 +00:00
594d03f4aa Refactor: group hub keyboards (#22762) 2023-12-26 20:28:06 -08:00
2a048fbb65 Refactor: group kira keyboards (#22760) 2023-12-26 20:27:29 -08:00
489151d7a0 Refactor: move macro3 into handwired folder (#22759) 2023-12-26 20:26:48 -08:00
da6a05bfea Merge remote-tracking branch 'origin/master' into develop 2023-12-27 01:13:09 +00:00
592a2d26ce Default folder correction for rookiebwoy (#22753)
Add prefix for the default folder directive
2023-12-25 23:58:21 +00:00
df87a75c82 Default folder correction for kumaokobo (#22750)
Add prefix for the default folder directive
2023-12-25 17:12:23 +00:00
e5a92fa80f Refactor: group rookiebwoy keyboards (#22745)
Move @rookiebwoy's keyboards into rookiebwoy folder
2023-12-25 07:40:30 -07:00
2166eaf9a7 Merge remote-tracking branch 'origin/master' into develop 2023-12-24 18:17:01 +00:00
830ca0c415 [Keyboard] Add Orthograph (#21770)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Vlad Kvitnevskiy <vladkvit@outlook.com>
Co-authored-by: Your Name <you@example.com>
2023-12-24 10:16:05 -08:00
b24bd2351a Remove redundant audio eeconfig init (#22736) 2023-12-24 06:52:58 +00:00
b824faca71 Align location of tap dance keycode (#22742) 2023-12-24 06:52:41 +00:00
03848bb3aa Merge remote-tracking branch 'origin/master' into develop 2023-12-24 06:31:22 +00:00
5cf0888197 Merge remote-tracking branch 'origin/master' into develop 2023-12-24 03:35:08 +00:00
b37d23bfa5 Refactor: group shandoncodes keyboards (#22743) 2023-12-23 19:02:29 -08:00
5050b91068 Merge remote-tracking branch 'origin/master' into develop 2023-12-24 03:02:09 +00:00
f70edea123 Merge remote-tracking branch 'origin/master' into develop 2023-12-23 23:57:39 +00:00
456291d04e Refactor: move miniaxe into kagizaraya (#22708)
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-12-23 15:49:47 -08:00
6510188138 Refactor: move keyboards into kbdmania folder (#22714) 2023-12-23 15:49:18 -08:00
6f16349e93 Refactor: move keyboards into monokei folder (#22715) 2023-12-23 15:48:40 -08:00
9642cd9046 Refactor: move keyboards into kumaokobo (#22719) 2023-12-23 15:48:32 -08:00
77688ac706 Refactor: move keyboards into kezewa (#22712) 2023-12-23 15:48:18 -08:00
0b410ffd77 Refactor: move keyboards into zigotica folder (#22709) 2023-12-23 15:46:46 -08:00
70a7ed26e1 [Keyboard] Move Moonlander to ZSA folder (#22740) 2023-12-23 15:46:07 -08:00
300af1e5bf Refactor: move keyboards into laneware folder (#22710) 2023-12-23 15:45:53 -08:00
84ba999f2a Merge remote-tracking branch 'origin/master' into develop 2023-12-23 23:45:41 +00:00
7e47446695 [Keyboard] Noodlepad Additions and Updates (#22701)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-12-23 15:45:33 -08:00
6e356c7860 Merge remote-tracking branch 'origin/master' into develop 2023-12-23 22:06:04 +00:00
1fbbb1fa9b Merge remote-tracking branch 'origin/master' into develop 2023-12-23 21:52:08 +00:00
0c48e69ced Merge remote-tracking branch 'origin/master' into develop 2023-12-23 21:12:15 +00:00
92d7b8cb54 [Keyboard] null ST110R2.1 (SaikouType) (#21623)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: user176176 <you@example.com>
2023-12-22 23:48:27 -08:00
29f8fa35cf [Audio] Enable Complementary output for PWM Hardware driver (#22726)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-21 19:38:59 -08:00
9069c4540f Merge remote-tracking branch 'origin/master' into develop 2023-12-21 12:31:24 +00:00
088853dd22 [Keyboard] Updating NCC1701KB (#22721) 2023-12-20 16:24:54 -08:00
6fbd79ce4e Merge remote-tracking branch 'origin/master' into develop 2023-12-20 22:32:49 +00:00
e80f5de78c Merge remote-tracking branch 'origin/master' into develop 2023-12-20 22:02:55 +00:00
2c191e21c2 Merge remote-tracking branch 'upstream/master' into develop 2023-12-20 16:03:14 +11:00
8812a09581 Rename RGB_DISABLE_WHEN_USB_SUSPENDED -> RGB_MATRIX_SLEEP (#22682) 2023-12-20 13:31:50 +11:00
73758d3d3a Rename LED_DISABLE_WHEN_USB_SUSPENDED -> LED_MATRIX_SLEEP (#22681) 2023-12-20 13:31:39 +11:00
b9e81c0691 Update keyboard LED driver configs (#22638) 2023-12-18 20:13:08 +00:00
62db54dc32 Merge remote-tracking branch 'origin/master' into develop 2023-12-18 01:49:49 +00:00
e27034f800 Merge remote-tracking branch 'origin/master' into develop 2023-12-17 18:51:13 +00:00
ae90b1d1e5 Merge remote-tracking branch 'upstream/master' into develop 2023-12-17 22:27:35 +11:00
02f6ab264d Merge remote-tracking branch 'origin/master' into develop 2023-12-17 08:40:06 +00:00
94c64fef51 Merge remote-tracking branch 'origin/master' into develop 2023-12-17 05:01:26 +00:00
9ec0f3cd59 Merge remote-tracking branch 'origin/master' into develop 2023-12-17 02:18:48 +00:00
11be3e7c64 Remove redundant backlight eeconfig init (#22675) 2023-12-16 21:15:55 +00:00
f165eb5cc9 Remove redundant rgblight eeconfig init (#22674) 2023-12-16 15:43:53 +00:00
dc5befd139 Remove redundant RGB/LED matrix eeconfig init (#22673) 2023-12-16 15:43:39 +00:00
7298551e19 Merge remote-tracking branch 'origin/master' into develop 2023-12-15 21:29:02 +00:00
d2fcf78266 Merge remote-tracking branch 'origin/master' into develop 2023-12-15 21:26:06 +00:00
9ea3f5575a Merge remote-tracking branch 'origin/master' into develop 2023-12-15 21:23:19 +00:00
f8c6c6c395 Merge remote-tracking branch 'origin/master' into develop 2023-12-15 18:49:26 +00:00
d32812850c Merge remote-tracking branch 'origin/master' into develop 2023-12-15 14:31:04 +00:00
9de717428f Merge remote-tracking branch 'origin/master' into develop 2023-12-15 01:58:33 +00:00
006d3dbe68 Merge remote-tracking branch 'origin/master' into develop 2023-12-15 01:53:43 +00:00
b09fae9eba Merge remote-tracking branch 'origin/master' into develop 2023-12-14 17:44:31 +00:00
f19fa9854e [Keyboard] Update Keychron Q8 (#22578)
* Update Q8

* Run `qmk format-json` and remove `RGB_MATRIX_LED_COUNT`

* Update keyboards/keychron/q8/ansi_encoder/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/keychron/q8/iso/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

---------

Co-authored-by: Ryan <fauxpark@gmail.com>
2023-12-14 00:44:44 -07:00
79df864aa1 Merge remote-tracking branch 'origin/master' into develop 2023-12-14 07:44:04 +00:00
7fe03a73b8 Merge remote-tracking branch 'origin/master' into develop 2023-12-14 07:41:54 +00:00
aa7eef0a02 Merge remote-tracking branch 'origin/master' into develop 2023-12-14 01:07:43 +00:00
d3da222728 kikoslab/kl90: Update firmware to support encoder map (#22649) 2023-12-14 00:02:34 +00:00
1b1c6326c7 Merge remote-tracking branch 'origin/master' into develop 2023-12-13 23:43:06 +00:00
c46de05eb0 Merge remote-tracking branch 'origin/master' into develop 2023-12-13 23:41:33 +00:00
f6774f2f1e Merge remote-tracking branch 'origin/master' into develop 2023-12-13 22:20:21 +00:00
f870a04bb7 Merge remote-tracking branch 'origin/master' into develop 2023-12-13 19:41:05 +00:00
49527afc6a fix: improper usage of keyboard/user-level functions (#22652) 2023-12-13 18:33:15 +00:00
05d2b7e2ac Rename Pumpkin Pad to Pumkinpad (#22651) 2023-12-13 18:28:17 +00:00
ee90267734 Merge remote-tracking branch 'origin/master' into develop 2023-12-13 17:25:54 +00:00
9c5880a8b8 Merge remote-tracking branch 'origin/master' into develop 2023-12-13 02:26:24 +00:00
229a1690a7 dac_additive: Decouple the buffer length from the waveform length (#22276)
* dac_additive: Decouple the buffer length from the waveform length

* Formatting changes for the previous commit

* Reformat waveform tables with rows of 16 entries, ending at column 116

* Revert "Reformat waveform tables with rows of 16 entries, ending at column 116"

This reverts commit 6f2d37908d6e73e1505ce61e63190f32f051586f.
2023-12-12 20:06:56 +01:00
02c5afc7d5 Karn: correct layout data (#22201) 2023-12-12 09:48:13 -07:00
dec0d78724 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 16:46:29 +00:00
c2c78996d9 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 09:32:06 +00:00
06b9925156 Bastard Keyboards: Add support for Dilemma v2 (3x5+3) (#22185)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Charly Delay <charly@delay.gg>
2023-12-12 01:22:59 -08:00
faf9c38c26 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 08:50:20 +00:00
967a6138ac Merge remote-tracking branch 'origin/master' into develop 2023-12-12 08:48:57 +00:00
fb3c91375c [Keyboard] zk3mod : added OLED (#22303)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-12-12 00:44:14 -08:00
1f9b653f58 [Keyboard] Add Iron180 V2 PCB support (#22314)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-12-12 00:41:41 -08:00
e648155113 Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570) 2023-12-12 15:30:08 +11:00
3c7e9a6827 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 03:21:42 +00:00
d6f207dcd6 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 03:07:10 +00:00
8352f589c7 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 03:02:58 +00:00
dc6cf643f3 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 03:00:55 +00:00
e2472ee8f1 Merge remote-tracking branch 'origin/master' into develop 2023-12-12 02:12:41 +00:00
4682226e20 Keymap introspection for Dip Switches (#22543) 2023-12-11 23:06:18 +00:00
d85f954d30 Merge remote-tracking branch 'origin/master' into develop 2023-12-11 09:07:58 +00:00
42245651e7 Align Dip Switch feature (#22625) 2023-12-08 15:57:34 +00:00
e471cb80cb Merge remote-tracking branch 'origin/master' into develop 2023-12-08 09:55:53 +00:00
24511d31b6 LED/RGB Matrix: add header for drivers (#22628) 2023-12-08 16:54:47 +11:00
2d3f2e92d8 consolidate firmware folder in smoll parent folder (#22401)
* consolidate firmware folder in smoll parent folder

* add moved keyboards to mapping

* typo fix

* typo..

* Update rules.mk

fix default folder lefty

* Update data/mappings/keyboard_aliases.hjson

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

---------

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-12-08 04:36:38 +00:00
e394c06d14 Merge remote-tracking branch 'origin/master' into develop 2023-12-08 03:44:02 +00:00
81cedf5fa5 Add ADC support STM32L4xx and STM32G4xx series MCUs (#22341)
* Update analog.c

* Changes to remove errors in compile

* Update analog.c

Fix for RP2040 build errors

* Revert "Merge branch 'adc-add-stm32l4xx-stm32g4xx' of https://github.com/Cipulot/qmk_firmware into adc-add-stm32l4xx-stm32g4xx"

This reverts commit b11c2970785ce41ec772689749d71a2bd0ab48e7, reversing
changes made to ed3051f94109b53eb1735882abfe7f57473bdca8.

* Update analog.c

Attempt fix for formatting CI error

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-08 01:26:44 +00:00
fc61fd9ce3 Merge remote-tracking branch 'origin/master' into develop 2023-12-08 00:15:11 +00:00
6f78b0daf0 Merge remote-tracking branch 'origin/master' into develop 2023-12-07 20:26:19 +00:00
b4dba3cfb1 Merge remote-tracking branch 'origin/master' into develop 2023-12-06 17:40:28 +00:00
53c262de1b Merge remote-tracking branch 'origin/master' into develop 2023-12-06 16:28:29 +00:00
18630b741e Add QP support for smaller OLED displays and SSD1306 (#22358) 2023-12-06 13:06:58 +00:00
8ba46dcf61 Merge remote-tracking branch 'origin/master' into develop 2023-12-06 07:00:10 +00:00
4e836dd6cf Merge remote-tracking branch 'origin/master' into develop 2023-12-06 04:56:04 +00:00
51ce4ae8ad Merge remote-tracking branch 'origin/master' into develop 2023-12-06 03:52:28 +00:00
b6fbed3dc3 LED drivers: change "TWI" to "I2C" (#22617) 2023-12-05 19:52:18 -08:00
8b022cefc5 Merge remote-tracking branch 'origin/master' into develop 2023-12-06 03:35:11 +00:00
era
11aa512c85 [Keyboard] Remove era/klein (#22384)
* Remove era/klein

era/klein is replaced by sirind/era/klein_sd

* Add an entry to data/mappings/keyboard_aliases.hjson

Add an entry to data/mappings/keyboard_aliases.hjson
2023-12-05 15:57:07 -07:00
1b56428e52 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 22:52:50 +00:00
1ffb9092eb Merge remote-tracking branch 'origin/master' into develop 2023-12-05 19:06:44 +00:00
c286ab90f9 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 15:41:35 +00:00
ca2e424b75 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 13:32:43 +00:00
17f36a21bf Rework RGBLight driver system (#22529) 2023-12-05 22:49:14 +11:00
2acb426b8e Remove "empty" files (#22603) 2023-12-05 08:37:00 +00:00
92cf493d7f Merge remote-tracking branch 'origin/master' into develop 2023-12-05 08:30:41 +00:00
7317680904 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 08:29:41 +00:00
3208f5fd1a Merge remote-tracking branch 'origin/master' into develop 2023-12-05 08:19:55 +00:00
9e60a81263 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 07:43:42 +00:00
05787bc381 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 07:15:25 +00:00
158d99b738 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 05:56:48 +00:00
18aa7d1244 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 05:19:46 +00:00
6537794989 Merge remote-tracking branch 'origin/master' into develop 2023-12-05 03:54:11 +00:00
99ab4393de Merge remote-tracking branch 'origin/master' into develop 2023-12-04 23:30:31 +00:00
c9d57e9014 Merge remote-tracking branch 'origin/master' into develop 2023-12-04 18:56:04 +00:00
8c4b0827ac Merge remote-tracking branch 'origin/master' into develop 2023-12-04 15:53:32 +00:00
daa5afcf1d Merge remote-tracking branch 'origin/master' into develop 2023-12-04 13:58:34 +00:00
7f67256047 Add EE-AT and move W1-AT under geonworks (#22526)
* Add EE-AT and move W1-AT under geonworks
Co-authored-by: yiancar <yiancar@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-12-04 09:07:37 +00:00
358bc8eac8 LED drivers: refactor page selection (#22518) 2023-12-04 17:52:40 +11:00
3a2aec47b7 Merge remote-tracking branch 'origin/master' into develop 2023-12-04 00:58:12 +00:00
86f073a8ea Add basic presence check for cirque trackpad. (#22546) 2023-12-04 00:14:28 +00:00
ce81801480 Add latam spanish headers (#22542) 2023-12-04 00:13:27 +00:00
57db82445e Merge remote-tracking branch 'origin/master' into develop 2023-12-03 01:27:23 +00:00
ceb15bf5db Merge remote-tracking branch 'origin/master' into develop 2023-12-02 23:58:44 +00:00
c7a58bf280 Merge remote-tracking branch 'origin/master' into develop 2023-12-02 22:47:08 +00:00
b45b3aaec7 Merge remote-tracking branch 'origin/master' into develop 2023-12-02 21:51:04 +00:00
07e2b645ab Merge remote-tracking branch 'origin/master' into develop 2023-12-01 14:06:15 +00:00
4be3abc39e Merge remote-tracking branch 'origin/master' into develop 2023-12-01 12:08:20 +00:00
e0e621ad6f Merge remote-tracking branch 'origin/master' into develop 2023-12-01 10:07:56 +00:00
cc3c3ace0c Feature: joystick weights (#21883)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-12-01 01:30:36 -08:00
f2f99739b3 Merge remote-tracking branch 'origin/master' into develop 2023-12-01 09:04:25 +00:00
9b0fc99076 Merge remote-tracking branch 'origin/master' into develop 2023-11-30 22:45:50 +00:00
091310e75e Merge remote-tracking branch 'origin/master' into develop 2023-11-30 09:28:22 +00:00
099eaefb40 Add APA102_LED_COUNT define (#22530) 2023-11-30 10:19:41 +11:00
2886c335a0 keycapsss/plaid_pad: switch to encoder map (#22474) 2023-11-30 10:19:17 +11:00
7cc90c234f Converted RGB matrix to use last_input_activity_elapsed(). (#21687)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-11-30 09:38:06 +11:00
cfbbb503a4 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 07:47:35 +00:00
8d308d56e3 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 07:46:44 +00:00
e3d367df8a Add 5x13 and 6x13 ortho community layouts (#22315)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Alin Marin Elena <alin@elena.space>
2023-11-28 22:56:17 -08:00
36ad597e15 lib: chibios-contrib: sync with chibios-21.11.x (#22560)
This contains commit from da78eb3759b8..9d7a7f904ed1:

    9d7a7f90 Merge pull request #382 from KarlK90/fix/rp2040-i2c-speeds
    70119934 Merge pull request #383 from
             KarlK90/fix/rp2040-usb-get-status-request
    1a1bbe6c rp2040: usb: fix usb_lld_get_status functions
    7d9212dd rp2040: i2c: fix speed calculation
    fb67e502 Merge pull request #377 from 1Conan/sn32_fix_registry
    e72939ef SN32: update registry
    5b4836ca Merge pull request #376 from dexter93/sn32_usb_v2
    5ded9de9 sn32: usb: do NOT clear interrupt status until handled
    Leftover Sonix reference code cleanup. Sometimes when there is
    traffic on more than 1 ep's packets would be dropped before they
    could be handled. Clearing the status flags after handling them
    takes care of it.
    e9a4a512 sn32: usb: only activate interrupts on lld start
    e4a35d1c sn32: fix host remote wakeup
2023-11-29 07:01:16 +01:00
e923efcd56 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 03:33:32 +00:00
a886d7e3dd Merge remote-tracking branch 'origin/master' into develop 2023-11-29 03:30:41 +00:00
6524d5354a Merge remote-tracking branch 'origin/master' into develop 2023-11-29 02:49:27 +00:00
e90874c382 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 02:46:47 +00:00
6bba3c6578 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 02:24:16 +00:00
81d601b725 refactor: projectcain/vault35 (#22558) 2023-11-28 18:24:02 -08:00
75a43ddf55 Merge remote-tracking branch 'origin/master' into develop 2023-11-29 02:00:53 +00:00
a2c745cae8 Merge remote-tracking branch 'origin/master' into develop 2023-11-28 14:07:50 +00:00
2450fe28ee Add Imera converter (#22419) 2023-11-28 17:53:47 +11:00
ea8d2ffe31 Branch point for 20231126 Breaking Change 2023-11-28 16:42:43 +11:00
5334 changed files with 89180 additions and 197618 deletions

View File

@ -4,39 +4,39 @@
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 4
# We recommend you to keep these unchanged
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{*.yaml,*.yml}] # To match GitHub Actions formatting
indent_size = 2
[*.md]
trim_trailing_whitespace = false
indent_size = 4
[{qmk,*.py}]
charset = utf-8
max_line_length = 200
# Make these match what we have in .gitattributes
[*.mk]
end_of_line = lf
[{Makefile,*.mk}]
indent_style = tab
[Makefile]
end_of_line = lf
indent_style = tab
[*.sh]
end_of_line = lf
# The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files
# We don't have gitattributes properly for these
# So if the user have for example core.autocrlf set to true
# the line endings would be wrong.
# Don't override anything in `lib/`...
[lib/**]
indent_style = unset
indent_size = unset
tab_width = unset
end_of_line = unset
charset = unset
spelling_language = unset
trim_trailing_whitespace = unset
insert_final_newline = unset
# ...except QMK's `lib/python`.
[{*.py,lib/python/**.py}]
end_of_line = lf
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 200

View File

@ -35,7 +35,9 @@ jobs:
- name: Get changed files
id: file_changes
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v42
with:
use_rest_api: true
- name: Run qmk formatters
shell: 'bash {0}'

View File

@ -47,7 +47,7 @@ jobs:
git config user.email 'hello@qmk.fm'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
if: ${{ github.repository == 'qmk/qmk_firmware'}}
with:
token: ${{ secrets.QMK_BOT_TOKEN }}

View File

@ -27,7 +27,9 @@ jobs:
- name: Get changed files
id: file_changes
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v42
with:
use_rest_api: true
- name: Print info
run: |
@ -62,10 +64,12 @@ jobs:
qmk format-text ${{ steps.file_changes.outputs.all_changed_files}} || true
for file in ${{ steps.file_changes.outputs.all_changed_files}}; do
if ! git diff --quiet $file; then
echo "File '${file}' Requires Formatting"
echo "::error file=${file}::Requires Formatting"
exit_code=$(($exit_code + 1))
if [[ -f $file ]]; then
if ! git diff --quiet $file; then
echo "File '${file}' Requires Formatting"
echo "::error file=${file}::Requires Formatting"
exit_code=$(($exit_code + 1))
fi
fi
done

View File

@ -34,7 +34,7 @@ jobs:
git config user.email 'hello@qmk.fm'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
if: ${{ github.repository == 'qmk/qmk_firmware'}}
with:
token: ${{ secrets.QMK_BOT_TOKEN }}

5
.gitignore vendored
View File

@ -18,6 +18,11 @@
*.lst
*.map
*.o
*.a
*.so
*.dylib
*.dll
*.la
*.stackdump
*.sym

View File

@ -337,24 +337,23 @@ define BUILD_TEST
endif
endef
define LIST_TEST
include $(BUILDDEFS_PATH)/testlist.mk
FOUND_TESTS := $$(patsubst ./tests/%,%,$$(TEST_LIST))
$$(info $$(FOUND_TESTS))
endef
define PARSE_TEST
TESTS :=
# list of possible targets, colon-delimited, to reassign to MAKE_TARGET and remove
TARGETS := :clean:
ifneq (,$$(findstring :$$(lastword $$(subst :, ,$$(RULE))):, $$(TARGETS)))
MAKE_TARGET := $$(lastword $$(subst :, ,$$(RULE)))
TEST_SUBPATH := $$(subst $$(eval) ,/,$$(wordlist 2, $$(words $$(subst :, ,$$(RULE))), _ $$(subst :, ,$$(RULE))))
else
MAKE_TARGET :=
TEST_SUBPATH := $$(subst :,/,$$(RULE))
endif
TEST_NAME := $$(firstword $$(subst :, ,$$(RULE)))
TEST_TARGET := $$(subst $$(TEST_NAME),,$$(subst $$(TEST_NAME):,,$$(RULE)))
include $(BUILDDEFS_PATH)/testlist.mk
ifeq ($$(RULE),all)
ifeq ($$(TEST_NAME),all)
MATCHED_TESTS := $$(TEST_LIST)
else
MATCHED_TESTS := $$(foreach TEST, $$(TEST_LIST),$$(if $$(findstring /$$(TEST_SUBPATH)/, $$(patsubst %,%/,$$(TEST))), $$(TEST),))
MATCHED_TESTS := $$(foreach TEST, $$(TEST_LIST),$$(if $$(findstring x$$(TEST_NAME)x, x$$(patsubst ./tests/%,%,$$(TEST)x)), $$(TEST),))
endif
$$(foreach TEST,$$(MATCHED_TESTS),$$(eval $$(call BUILD_TEST,$$(TEST),$$(MAKE_TARGET))))
$$(foreach TEST,$$(MATCHED_TESTS),$$(eval $$(call BUILD_TEST,$$(TEST),$$(TEST_TARGET))))
endef
@ -437,6 +436,10 @@ git-submodules: git-submodule
list-keyboards:
$(QMK_BIN) list-keyboards --no-resolve-defaults | tr '\n' ' '
.PHONY: list-tests
list-tests:
$(eval $(call LIST_TEST))
.PHONY: generate-keyboards-file
generate-keyboards-file:
$(QMK_BIN) list-keyboards --no-resolve-defaults

View File

@ -313,6 +313,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
OPT_DEFS += -DRGBLIGHT_$(strip $(shell echo $(RGBLIGHT_DRIVER) | tr '[:lower:]' '[:upper:]'))
SRC += $(QUANTUM_DIR)/color.c
SRC += $(QUANTUM_DIR)/rgblight/rgblight.c
SRC += $(QUANTUM_DIR)/rgblight/rgblight_drivers.c
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes
endif
@ -339,7 +340,7 @@ LED_MATRIX_DRIVER := snled27351
endif
LED_MATRIX_ENABLE ?= no
VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 custom
VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 custom
ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
ifeq ($(filter $(LED_MATRIX_DRIVER),$(VALID_LED_MATRIX_TYPES)),)
@ -361,71 +362,73 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3218)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3218-simple.c
SRC += is31fl3218-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3729)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3729-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3731)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3731-simple.c
SRC += is31fl3731-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3733)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3733-simple.c
SRC += is31fl3733-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3736)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3736-simple.c
SRC += is31fl3736-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3737)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3737-simple.c
SRC += is31fl3737-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3741)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3741-simple.c
SRC += is31fl3741-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3742a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3742a-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3743a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3743a-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3745)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3745-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3746a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3746a-mono.c
endif
ifeq ($(strip $(LED_MATRIX_DRIVER)), snled27351)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led
SRC += snled27351-simple.c
SRC += snled27351-mono.c
endif
endif
@ -440,7 +443,7 @@ endif
RGB_MATRIX_ENABLE ?= no
VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 ws2812 custom
VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 ws2812 custom
ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid RGB_MATRIX_DRIVER,RGB_MATRIX_DRIVER="$(RGB_MATRIX_DRIVER)" is not a valid matrix type)
@ -471,6 +474,12 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
SRC += is31fl3218.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3729)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31fl3729.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3731)
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
@ -502,31 +511,27 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3742a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3742a.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3743a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3743a.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3745)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3745.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3746a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3746a.c
endif
ifeq ($(strip $(RGB_MATRIX_DRIVER)), snled27351)
@ -615,24 +620,9 @@ ifeq ($(strip $(VIA_ENABLE)), yes)
TRI_LAYER_ENABLE := yes
endif
VALID_MAGIC_TYPES := yes
BOOTMAGIC_ENABLE ?= no
ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
ifeq ($(filter $(BOOTMAGIC_ENABLE),$(VALID_MAGIC_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid BOOTMAGIC_ENABLE,BOOTMAGIC_ENABLE="$(BOOTMAGIC_ENABLE)" is not a valid type of magic)
endif
ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
OPT_DEFS += -DBOOTMAGIC_LITE
QUANTUM_SRC += $(QUANTUM_DIR)/bootmagic/bootmagic_lite.c
endif
endif
COMMON_VPATH += $(QUANTUM_DIR)/bootmagic
QUANTUM_SRC += $(QUANTUM_DIR)/bootmagic/magic.c
VALID_CUSTOM_MATRIX_TYPES:= yes lite no
CUSTOM_MATRIX ?= no
ifneq ($(strip $(CUSTOM_MATRIX)), yes)
ifeq ($(filter $(CUSTOM_MATRIX),$(VALID_CUSTOM_MATRIX_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid CUSTOM_MATRIX,CUSTOM_MATRIX="$(CUSTOM_MATRIX)" is not a valid custom matrix type)
@ -837,15 +827,12 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
$(call CATASTROPHIC_ERROR,Invalid JOYSTICK_DRIVER,JOYSTICK_DRIVER="$(JOYSTICK_DRIVER)" is not a valid joystick driver)
endif
OPT_DEFS += -DJOYSTICK_ENABLE
OPT_DEFS += -DJOYSTICK_$(strip $(shell echo $(JOYSTICK_DRIVER) | tr '[:lower:]' '[:upper:]'))
SRC += $(QUANTUM_DIR)/process_keycode/process_joystick.c
SRC += $(QUANTUM_DIR)/joystick.c
ifeq ($(strip $(JOYSTICK_DRIVER)), analog)
ANALOG_DRIVER_REQUIRED = yes
OPT_DEFS += -DANALOG_JOYSTICK_ENABLE
endif
ifeq ($(strip $(JOYSTICK_DRIVER)), digital)
OPT_DEFS += -DDIGITAL_JOYSTICK_ENABLE
endif
endif
@ -899,14 +886,35 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
endif
endif
ENCODER_ENABLE ?= no
ENCODER_DRIVER ?= quadrature
VALID_ENCODER_DRIVER_TYPES := quadrature custom
ifeq ($(strip $(ENCODER_ENABLE)), yes)
ifeq ($(filter $(ENCODER_DRIVER),$(VALID_ENCODER_DRIVER_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid ENCODER_DRIVER,ENCODER_DRIVER="$(ENCODER_DRIVER)" is not a valid encoder driver)
endif
SRC += $(QUANTUM_DIR)/encoder.c
OPT_DEFS += -DENCODER_ENABLE
OPT_DEFS += -DENCODER_DRIVER_$(strip $(shell echo $(ENCODER_DRIVER) | tr '[:lower:]' '[:upper:]'))
COMMON_VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)/encoder
COMMON_VPATH += $(DRIVER_PATH)/encoder
ifneq ($(strip $(ENCODER_DRIVER)), custom)
SRC += encoder_$(strip $(ENCODER_DRIVER)).c
endif
ifeq ($(strip $(ENCODER_MAP_ENABLE)), yes)
OPT_DEFS += -DENCODER_MAP_ENABLE
endif
endif
ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
ifeq ($(strip $(DIP_SWITCH_MAP_ENABLE)), yes)
OPT_DEFS += -DDIP_SWITCH_MAP_ENABLE
endif
endif
VALID_WS2812_DRIVER_TYPES := bitbang custom i2c pwm spi vendor
WS2812_DRIVER ?= bitbang
@ -952,6 +960,15 @@ ifeq ($(strip $(SPI_DRIVER_REQUIRED)), yes)
endif
ifeq ($(strip $(UART_DRIVER_REQUIRED)), yes)
OPT_DEFS += -DHAL_USE_SERIAL=TRUE
QUANTUM_LIB_SRC += uart.c
ifeq ($(strip $(PLATFORM)), CHIBIOS)
ifneq ($(filter $(MCU_SERIES),RP2040),)
OPT_DEFS += -DHAL_USE_SIO=TRUE
QUANTUM_LIB_SRC += uart_sio.c
else
OPT_DEFS += -DHAL_USE_SERIAL=TRUE
QUANTUM_LIB_SRC += uart_serial.c
endif
else
QUANTUM_LIB_SRC += uart.c
endif
endif

View File

@ -21,6 +21,7 @@ SPACE_CADET_ENABLE ?= yes
GENERIC_FEATURES = \
AUTO_SHIFT \
AUTOCORRECT \
BOOTMAGIC \
CAPS_WORD \
COMBO \
COMMAND \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -45,6 +45,11 @@
"bootloader": "rp2040",
"processor": "RP2040"
},
"imera": {
"processor": "RP2040",
"bootloader": "rp2040",
"board": "QMK_PM2040"
},
"kb2040": {
"board": "QMK_PM2040",
"bootloader": "rp2040",

View File

@ -3,7 +3,7 @@
{
// Format:
// <config.h key>: {"info_key": <info.json key>, ["value_type": <value_type>], ["to_json": <true/false>], ["to_c": <true/false>]}
// value_type: one of "array", "array.int", "bool", "int", "hex", "list", "mapping", "str", "raw"
// value_type: one of "array", "array.int", "bool, "flag", "int", "hex", "list", "mapping", "str", "raw"
// to_json: Default `true`. Set to `false` to exclude this mapping from info.json
// to_c: Default `true`. Set to `false` to exclude this mapping from config.h
// warn_duplicate: Default `true`. Set to `false` to turn off warning when a value exists in both places
@ -17,12 +17,14 @@
"APA102_DI_PIN": {"info_key": "apa102.data_pin"},
// Audio
"AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"},
"SENDSTRING_BELL": {"info_key": "audio.macro_beep", "value_type": "bool"},
"AUDIO_DEFAULT_ON": {"info_key": "audio.default.on", "value_type": "bool"},
"AUDIO_DEFAULT_CLICKY_ON": {"info_key": "audio.default.clicky", "value_type": "bool"},
"AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "flag"},
"SENDSTRING_BELL": {"info_key": "audio.macro_beep", "value_type": "flag"},
// Backlight
"BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"},
"BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "bool"},
"BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "flag"},
"BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "flag"},
"BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"},
"BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"},
"BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"},
@ -34,16 +36,16 @@
"BACKLIGHT_DEFAULT_LEVEL": {"info_key": "backlight.default.brightness", "value_type": "int"},
// Bootmagic
"BOOTMAGIC_LITE_COLUMN": {"info_key": "bootmagic.matrix.1", "value_type": "int"},
"BOOTMAGIC_LITE_COLUMN_RIGHT": {"info_key": "split.bootmagic.matrix.1", "value_type": "int"},
"BOOTMAGIC_LITE_ROW": {"info_key": "bootmagic.matrix.0", "value_type": "int"},
"BOOTMAGIC_LITE_ROW_RIGHT": {"info_key": "split.bootmagic.matrix.0", "value_type": "int"},
"BOOTMAGIC_COLUMN": {"info_key": "bootmagic.matrix.1", "value_type": "int"},
"BOOTMAGIC_COLUMN_RIGHT": {"info_key": "split.bootmagic.matrix.1", "value_type": "int"},
"BOOTMAGIC_ROW": {"info_key": "bootmagic.matrix.0", "value_type": "int"},
"BOOTMAGIC_ROW_RIGHT": {"info_key": "split.bootmagic.matrix.0", "value_type": "int"},
// Caps Word
"BOTH_SHIFTS_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.both_shifts_turns_on", "value_type": "bool"},
"BOTH_SHIFTS_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.both_shifts_turns_on", "value_type": "flag"},
"CAPS_WORD_IDLE_TIMEOUT": {"info_key": "caps_word.idle_timeout", "value_type": "int"},
"CAPS_WORD_INVERT_ON_SHIFT": {"info_key": "caps_word.invert_on_shift", "value_type": "bool"},
"DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.double_tap_shift_turns_on", "value_type": "bool"},
"CAPS_WORD_INVERT_ON_SHIFT": {"info_key": "caps_word.invert_on_shift", "value_type": "flag"},
"DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.double_tap_shift_turns_on", "value_type": "flag"},
// Combos
"COMBO_TERM": {"info_key": "combo.term", "value_type": "int"},
@ -69,17 +71,17 @@
"LED_PIN_ON_STATE": {"info_key": "indicators.on_state", "value_type": "int"},
// Leader Key
"LEADER_PER_KEY_TIMING": {"info_key": "leader_key.timing", "value_type": "bool"},
"LEADER_KEY_STRICT_KEY_PROCESSING": {"info_key": "leader_key.strict_processing", "value_type": "bool"},
"LEADER_PER_KEY_TIMING": {"info_key": "leader_key.timing", "value_type": "flag"},
"LEADER_KEY_STRICT_KEY_PROCESSING": {"info_key": "leader_key.strict_processing", "value_type": "flag"},
"LEADER_TIMEOUT": {"info_key": "leader_key.timeout", "value_type": "int"},
// LED Matrix
"LED_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "led_matrix.sleep", "value_type": "bool"},
"LED_MATRIX_CENTER": {"info_key": "led_matrix.center_point", "value_type": "array.int"},
"LED_MATRIX_KEYRELEASES": {"info_key": "led_matrix.react_on_keyup", "value_type": "bool"},
"LED_MATRIX_KEYRELEASES": {"info_key": "led_matrix.react_on_keyup", "value_type": "flag"},
"LED_MATRIX_LED_FLUSH_LIMIT": {"info_key": "led_matrix.led_flush_limit", "value_type": "int"},
"LED_MATRIX_LED_PROCESS_LIMIT": {"info_key": "led_matrix.led_process_limit", "value_type": "int", "to_json": false},
"LED_MATRIX_MAXIMUM_BRIGHTNESS": {"info_key": "led_matrix.max_brightness", "value_type": "int"},
"LED_MATRIX_SLEEP": {"info_key": "led_matrix.sleep", "value_type": "flag"},
"LED_MATRIX_SPD_STEP": {"info_key": "led_matrix.speed_steps", "value_type": "int"},
"LED_MATRIX_SPLIT": {"info_key": "led_matrix.split_count", "value_type": "array.int"},
"LED_MATRIX_TIMEOUT": {"info_key": "led_matrix.timeout", "value_type": "int"},
@ -90,8 +92,8 @@
"LED_MATRIX_DEFAULT_SPD": {"info_key": "led_matrix.default.speed", "value_type": "int"},
// Locking Switch
"LOCKING_SUPPORT_ENABLE": {"info_key": "qmk.locking.enabled", "value_type": "bool"},
"LOCKING_RESYNC_ENABLE": {"info_key": "qmk.locking.resync", "value_type": "bool"},
"LOCKING_SUPPORT_ENABLE": {"info_key": "qmk.locking.enabled", "value_type": "flag"},
"LOCKING_RESYNC_ENABLE": {"info_key": "qmk.locking.resync", "value_type": "flag"},
// LUFA Bootloader
"QMK_ESC_INPUT": {"info_key": "qmk_lufa_bootloader.esc_input"},
@ -102,7 +104,7 @@
// Matrix
"DEBOUNCE": {"info_key": "debounce", "value_type": "int"},
"DIODE_DIRECTION": {"info_key": "diode_direction"},
"MATRIX_HAS_GHOST": {"info_key": "matrix_pins.ghost", "value_type": "bool"},
"MATRIX_HAS_GHOST": {"info_key": "matrix_pins.ghost", "value_type": "flag"},
"MATRIX_INPUT_PRESSED_STATE": {"info_key": "matrix_pins.input_pressed_state", "value_type": "int"},
"MATRIX_IO_DELAY": {"info_key": "matrix_pins.io_delay", "value_type": "int"},
@ -122,14 +124,14 @@
"PS2_DATA_PIN": {"info_key": "ps2.data_pin"},
// RGB Matrix
"RGB_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "rgb_matrix.sleep", "value_type": "bool"},
"RGB_MATRIX_CENTER": {"info_key": "rgb_matrix.center_point", "value_type": "array.int"},
"RGB_MATRIX_HUE_STEP": {"info_key": "rgb_matrix.hue_steps", "value_type": "int"},
"RGB_MATRIX_KEYRELEASES": {"info_key": "rgb_matrix.react_on_keyup", "value_type": "bool"},
"RGB_MATRIX_KEYRELEASES": {"info_key": "rgb_matrix.react_on_keyup", "value_type": "flag"},
"RGB_MATRIX_LED_FLUSH_LIMIT": {"info_key": "rgb_matrix.led_flush_limit", "value_type": "int"},
"RGB_MATRIX_LED_PROCESS_LIMIT": {"info_key": "rgb_matrix.led_process_limit", "value_type": "int", "to_json": false},
"RGB_MATRIX_MAXIMUM_BRIGHTNESS": {"info_key": "rgb_matrix.max_brightness", "value_type": "int"},
"RGB_MATRIX_SAT_STEP": {"info_key": "rgb_matrix.sat_steps", "value_type": "int"},
"RGB_MATRIX_SLEEP": {"info_key": "rgb_matrix.sleep", "value_type": "flag"},
"RGB_MATRIX_SPD_STEP": {"info_key": "rgb_matrix.speed_steps", "value_type": "int"},
"RGB_MATRIX_SPLIT": {"info_key": "rgb_matrix.split_count", "value_type": "array.int"},
"RGB_MATRIX_TIMEOUT": {"info_key": "rgb_matrix.timeout", "value_type": "int"},
@ -142,25 +144,25 @@
"RGB_MATRIX_DEFAULT_SPD": {"info_key": "rgb_matrix.default.speed", "value_type": "int"},
// RGBLight
"RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
"RGBLED_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
"RGBLIGHT_HUE_STEP": {"info_key": "rgblight.hue_steps", "value_type": "int"},
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "bool"},
"RGBLIGHT_LAYERS": {"info_key": "rgblight.layers.enabled", "value_type": "bool"},
"RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF": {"info_key": "rgblight.layers.override_rgb", "value_type": "bool"},
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "flag"},
"RGBLIGHT_LAYERS": {"info_key": "rgblight.layers.enabled", "value_type": "flag"},
"RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF": {"info_key": "rgblight.layers.override_rgb", "value_type": "flag"},
"RGBLIGHT_LED_COUNT": {"info_key": "rgblight.led_count", "value_type": "int"},
"RGBLIGHT_LED_MAP": {"info_key": "rgblight.led_map", "value_type": "array.int"},
"RGBLIGHT_LIMIT_VAL": {"info_key": "rgblight.max_brightness", "value_type": "int"},
"RGBLIGHT_MAX_LAYERS": {"info_key": "rgblight.layers.max", "value_type": "int"},
"RGBLIGHT_SAT_STEP": {"info_key": "rgblight.saturation_steps", "value_type": "int"},
"RGBLIGHT_SLEEP": {"info_key": "rgblight.sleep", "value_type": "bool"},
"RGBLIGHT_SPLIT": {"info_key": "rgblight.split", "value_type": "bool"},
"RGBLIGHT_SLEEP": {"info_key": "rgblight.sleep", "value_type": "flag"},
"RGBLIGHT_SPLIT": {"info_key": "rgblight.split", "value_type": "flag"},
"RGBLIGHT_VAL_STEP": {"info_key": "rgblight.brightness_steps", "value_type": "int"},
"RGBLIGHT_DEFAULT_ON": {"info_key": "rgblight.default.on", "value_type": "bool"},
"RGBLIGHT_DEFAULT_HUE": {"info_key": "rgblight.default.hue", "value_type": "int"},
"RGBLIGHT_DEFAULT_SAT": {"info_key": "rgblight.default.sat", "value_type": "int"},
"RGBLIGHT_DEFAULT_VAL": {"info_key": "rgblight.default.val", "value_type": "int"},
"RGBLIGHT_DEFAULT_SPD": {"info_key": "rgblight.default.speed", "value_type": "int"},
"RGBW": {"info_key": "rgblight.rgbw", "value_type": "bool"},
"RGBW": {"info_key": "rgblight.rgbw", "value_type": "flag"},
// Secure
"SECURE_IDLE_TIMEOUT": {"info_key": "secure.idle_timeout", "value_type": "int"},
@ -172,37 +174,37 @@
"SOFT_SERIAL_SPEED": {"info_key": "split.soft_serial_speed"},
"SPLIT_HAND_MATRIX_GRID": {"info_key": "split.handedness.matrix_grid", "value_type": "array", "to_c": false},
"SPLIT_HAND_PIN": {"info_key": "split.handedness.pin"},
"SPLIT_USB_DETECT": {"info_key": "split.usb_detect.enabled", "value_type": "bool"},
"SPLIT_USB_DETECT": {"info_key": "split.usb_detect.enabled", "value_type": "flag"},
"SPLIT_USB_TIMEOUT": {"info_key": "split.usb_detect.timeout", "value_type": "int"},
"SPLIT_USB_TIMEOUT_POLL": {"info_key": "split.usb_detect.polling_interval", "value_type": "int"},
"SPLIT_WATCHDOG_ENABLE": {"info_key": "split.transport.watchdog", "value_type": "bool"},
"SPLIT_WATCHDOG_ENABLE": {"info_key": "split.transport.watchdog", "value_type": "flag"},
"SPLIT_WATCHDOG_TIMEOUT": {"info_key": "split.transport.watchdog_timeout", "value_type": "int"},
"SPLIT_ACTIVITY_ENABLE": {"info_key": "split.transport.sync.activity", "value_type": "bool"},
"SPLIT_DETECTED_OS_ENABLE": {"info_key": "split.transport.sync.detected_os", "value_type": "bool"},
"SPLIT_HAPTIC_ENABLE": {"info_key": "split.transport.sync.haptic", "value_type": "bool"},
"SPLIT_LAYER_STATE_ENABLE": {"info_key": "split.transport.sync.layer_state", "value_type": "bool"},
"SPLIT_LED_STATE_ENABLE": {"info_key": "split.transport.sync.indicators", "value_type": "bool"},
"SPLIT_TRANSPORT_MIRROR": {"info_key": "split.transport.sync.matrix_state", "value_type": "bool"},
"SPLIT_MODS_ENABLE": {"info_key": "split.transport.sync.modifiers", "value_type": "bool"},
"SPLIT_OLED_ENABLE": {"info_key": "split.transport.sync.oled", "value_type": "bool"},
"SPLIT_ST7565_ENABLE": {"info_key": "split.transport.sync.st7565", "value_type": "bool"},
"SPLIT_WPM_ENABLE": {"info_key": "split.transport.sync.wpm", "value_type": "bool"},
"SPLIT_ACTIVITY_ENABLE": {"info_key": "split.transport.sync.activity", "value_type": "flag"},
"SPLIT_DETECTED_OS_ENABLE": {"info_key": "split.transport.sync.detected_os", "value_type": "flag"},
"SPLIT_HAPTIC_ENABLE": {"info_key": "split.transport.sync.haptic", "value_type": "flag"},
"SPLIT_LAYER_STATE_ENABLE": {"info_key": "split.transport.sync.layer_state", "value_type": "flag"},
"SPLIT_LED_STATE_ENABLE": {"info_key": "split.transport.sync.indicators", "value_type": "flag"},
"SPLIT_TRANSPORT_MIRROR": {"info_key": "split.transport.sync.matrix_state", "value_type": "flag"},
"SPLIT_MODS_ENABLE": {"info_key": "split.transport.sync.modifiers", "value_type": "flag"},
"SPLIT_OLED_ENABLE": {"info_key": "split.transport.sync.oled", "value_type": "flag"},
"SPLIT_ST7565_ENABLE": {"info_key": "split.transport.sync.st7565", "value_type": "flag"},
"SPLIT_WPM_ENABLE": {"info_key": "split.transport.sync.wpm", "value_type": "flag"},
// Tapping
"HOLD_ON_OTHER_KEY_PRESS": {"info_key": "tapping.hold_on_other_key_press", "value_type": "bool"},
"HOLD_ON_OTHER_KEY_PRESS_PER_KEY": {"info_key": "tapping.hold_on_other_key_press_per_key", "value_type": "bool"},
"PERMISSIVE_HOLD": {"info_key": "tapping.permissive_hold", "value_type": "bool"},
"PERMISSIVE_HOLD_PER_KEY": {"info_key": "tapping.permissive_hold_per_key", "value_type": "bool"},
"RETRO_TAPPING": {"info_key": "tapping.retro", "value_type": "bool"},
"RETRO_TAPPING_PER_KEY": {"info_key": "tapping.retro_per_key", "value_type": "bool"},
"HOLD_ON_OTHER_KEY_PRESS": {"info_key": "tapping.hold_on_other_key_press", "value_type": "flag"},
"HOLD_ON_OTHER_KEY_PRESS_PER_KEY": {"info_key": "tapping.hold_on_other_key_press_per_key", "value_type": "flag"},
"PERMISSIVE_HOLD": {"info_key": "tapping.permissive_hold", "value_type": "flag"},
"PERMISSIVE_HOLD_PER_KEY": {"info_key": "tapping.permissive_hold_per_key", "value_type": "flag"},
"RETRO_TAPPING": {"info_key": "tapping.retro", "value_type": "flag"},
"RETRO_TAPPING_PER_KEY": {"info_key": "tapping.retro_per_key", "value_type": "flag"},
"TAP_CODE_DELAY": {"info_key": "qmk.tap_keycode_delay", "value_type": "int"},
"TAP_HOLD_CAPS_DELAY": {"info_key": "qmk.tap_capslock_delay", "value_type": "int"},
"TAPPING_TERM": {"info_key": "tapping.term", "value_type": "int"},
"TAPPING_TERM_PER_KEY": {"info_key": "tapping.term_per_key", "value_type": "bool"},
"TAPPING_TERM_PER_KEY": {"info_key": "tapping.term_per_key", "value_type": "flag"},
"TAPPING_TOGGLE": {"info_key": "tapping.toggle", "value_type": "int"},
// USB
"FORCE_NKRO": {"info_key": "usb.force_nkro", "value_type": "bool"},
"FORCE_NKRO": {"info_key": "usb.force_nkro", "value_type": "flag"},
"USB_MAX_POWER_CONSUMPTION": {"info_key": "usb.max_power", "value_type": "int"},
"USB_POLLING_INTERVAL_MS": {"info_key": "usb.polling_interval", "value_type": "int"},
"USB_SUSPEND_WAKEUP_DELAY": {"info_key": "usb.suspend_wakeup_delay", "value_type": "int"},
@ -217,16 +219,18 @@
// Items we want flagged in lint
"DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, "replace_with": "DEBOUNCE"},
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},
"IGNORE_MOD_TAP_INTERRUPT": {"info_key": "_invalid.ignore_mod_tap_interrupt", "value_type": "bool", "invalid": true},
"IGNORE_MOD_TAP_INTERRUPT_PER_KEY": {"info_key": "_invalid.ignore_mod_tap_interrupt_per_key", "invalid": true}
"IGNORE_MOD_TAP_INTERRUPT": {"info_key": "_invalid.ignore_mod_tap_interrupt", "value_type": "flag", "invalid": true},
"IGNORE_MOD_TAP_INTERRUPT_PER_KEY": {"info_key": "_invalid.ignore_mod_tap_interrupt_per_key", "invalid": true},
"LED_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "_invalid.led_matrix_sleep", "invalid": true, "replace_with": "LED_MATRIX_SLEEP"},
"NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
"NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true},
"PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true},
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},
"RGB_DI_PIN": {"info_key": "rgblight.pin", "invalid": true, "replace_with": "WS2812_DI_PIN or APA102_DI_PIN"},
"RGBLIGHT_ANIMATIONS": {"info_key": "_invalid.rgblight.animations.all", "value_type": "bool", "invalid": true},
"TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "bool", "deprecated": true},
"TAPPING_FORCE_HOLD_PER_KEY": {"info_key": "tapping.force_hold_per_key", "value_type": "bool", "deprecated": true},
"RGB_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "_invalid.rgb_matrix_sleep", "invalid": true, "replace_with": "RGB_MATRIX_SLEEP"},
"RGBLIGHT_ANIMATIONS": {"info_key": "_invalid.rgblight.animations.all", "value_type": "flag", "invalid": true},
"TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "flag", "deprecated": true},
"TAPPING_FORCE_HOLD_PER_KEY": {"info_key": "tapping.force_hold_per_key", "value_type": "flag", "deprecated": true},
"UNUSED_PINS": {"info_key": "_invalid.unused_pins", "deprecated": true},
"COMBO_COUNT": {"info_key": "_invalid.combo.count", "invalid": true},

View File

@ -21,6 +21,7 @@
"DEBOUNCE_TYPE": {"info_key": "build.debounce_type"},
"EEPROM_DRIVER": {"info_key": "eeprom.driver"},
"ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"},
"ENCODER_DRIVER": {"info_key": "encoder.driver"},
"FIRMWARE_FORMAT": {"info_key": "build.firmware_format"},
"KEYBOARD_SHARED_EP": {"info_key": "usb.shared_endpoint.keyboard", "value_type": "bool"},
"LAYOUTS": {"info_key": "community_layouts", "value_type": "list"},

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,10 @@
"encoder_config": {
"type": "object",
"properties": {
"driver": {
"type": "string",
"enum": ["custom", "quadrature"]
},
"rotary": {
"type": "array",
"items": {
@ -24,14 +28,12 @@
"dip_switch_config": {
"type": "object",
"properties": {
"pins": {
"$ref": "qmk.definitions.v1#/mcu_pin_array"
}
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
}
},
}
},
"type": "object",
"not": { "required": [ "vendorId", "productId" ] }, // reject via keys...
"not": {"required": ["vendorId", "productId"]}, // reject via keys...
"properties": {
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
"keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
@ -43,7 +45,7 @@
},
"development_board": {
"type": "string",
"enum": ["promicro", "elite_c", "elite_pi", "proton_c", "kb2040", "promicro_rp2040", "blok", "michi", "bit_c_pro", "stemcell", "bluepill", "blackpill_f401", "blackpill_f411", "bonsai_c4", "helios", "liatris"]
"enum": ["promicro", "elite_c", "elite_pi", "proton_c", "kb2040", "promicro_rp2040", "blok", "michi", "bit_c_pro", "stemcell", "bluepill", "blackpill_f401", "blackpill_f411", "bonsai_c4", "helios", "liatris", "imera"]
},
"pin_compatible": {
"type": "string",
@ -123,6 +125,14 @@
"type": "object",
"additionalProperties": false,
"properties": {
"default": {
"type": "object",
"additionalProperties": false,
"properties": {
"on": {"type": "boolean"},
"clicky": {"type": "boolean"}
}
},
"macro_beep": {"type": "boolean"},
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
"voices": {"type": "boolean"}
@ -134,7 +144,7 @@
"properties": {
"driver": {
"type": "string",
"enum": ["pwm", "software", "timer", "custom"]
"enum": ["custom", "pwm", "software", "timer"]
},
"default": {
"type": "object",
@ -306,8 +316,8 @@
},
"features": {
"$ref": "qmk.definitions.v1#/boolean_array",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"},
"not": {"required": ["lto"]}
},
"indicators": {
"type": "object",
@ -332,15 +342,9 @@
"type": "object",
"additionalProperties": false,
"properties": {
"filename": {
"type": "string"
},
"c_macro": {
"type": "boolean"
},
"json_layout": {
"type": "boolean"
},
"filename": {"type": "string"},
"c_macro": {"type": "boolean"},
"json_layout": {"type": "boolean"},
"layout": {
"type": "array",
"items": {
@ -423,10 +427,8 @@
"properties": {
"animations": {
"type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": {
"type": "boolean"
}
"propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"},
"additionalProperties": {"type": "boolean"}
},
"default": {
"type": "object",
@ -438,7 +440,24 @@
"speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
}
},
"driver": {"type": "string"},
"driver": {
"type": "string",
"enum": [
"custom",
"is31fl3218",
"is31fl3729",
"is31fl3731",
"is31fl3733",
"is31fl3736",
"is31fl3737",
"is31fl3741",
"is31fl3742a",
"is31fl3743a",
"is31fl3745",
"is31fl3746a",
"snled27351"
]
},
"center_point": {
"type": "array",
"minItems": 2,
@ -487,10 +506,8 @@
"properties": {
"animations": {
"type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": {
"type": "boolean"
}
"propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"},
"additionalProperties": {"type": "boolean"}
},
"default": {
"type": "object",
@ -504,7 +521,26 @@
"speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
}
},
"driver": {"type": "string"},
"driver": {
"type": "string",
"enum": [
"aw20216s",
"custom",
"is31fl3218",
"is31fl3729",
"is31fl3731",
"is31fl3733",
"is31fl3736",
"is31fl3737",
"is31fl3741",
"is31fl3742a",
"is31fl3743a",
"is31fl3745",
"is31fl3746a",
"snled27351",
"ws2812"
]
},
"center_point": {
"type": "array",
"minItems": 2,
@ -556,10 +592,8 @@
"properties": {
"animations": {
"type": "object",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"additionalProperties": {
"type": "boolean"
}
"propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"},
"additionalProperties": {"type": "boolean"}
},
"brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
"default": {
@ -762,7 +796,7 @@
"st7565": {"type": "boolean"},
"wpm": {"type": "boolean"}
}
}
},
"watchdog": {"type": "boolean"},
"watchdog_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
"sync_matrix_state": {

367
docs/ChangeLog/20240225.md Normal file

File diff suppressed because it is too large Load Diff

View File

@ -138,7 +138,7 @@
* Breaking Changes
* [Overview](breaking_changes.md)
* [My Pull Request Was Flagged](breaking_changes_instructions.md)
* [Most Recent ChangeLog](ChangeLog/20231126.md "QMK v0.23.0 - 2023 Nov 26")
* [Most Recent ChangeLog](ChangeLog/20240225.md "QMK v0.24.0 - 2024 Feb 25")
* [Past Breaking Changes](breaking_changes_history.md)
* C Development

View File

@ -116,19 +116,32 @@ Additionally, in the board config, you'll want to make changes to enable the DAC
| Define | Defaults | Description |
| -------------------------------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AUDIO_DAC_SAMPLE_MAX` | `4095U` | Highest value allowed. Lower value means lower volume. And 4095U is the upper limit, since this is limited to a 12 bit value. Only effects non-pregenerated samples. |
| `AUDIO_DAC_OFF_VALUE` | `AUDIO_DAC_SAMPLE_MAX / 2` | The value of the DAC when notplaying anything. Some setups may require a high (`AUDIO_DAC_SAMPLE_MAX`) or low (`0`) value here. |
| `AUDIO_DAC_OFF_VALUE` | `AUDIO_DAC_SAMPLE_MAX / 2` | The value of the DAC when not playing anything. Some setups may require a high (`AUDIO_DAC_SAMPLE_MAX`) or low (`0`) value here. |
| `AUDIO_MAX_SIMULTANEOUS_TONES` | __see next table__ | The number of tones that can be played simultaneously. A value that is too high may freeze the controller or glitch out when too many tones are being played. |
| `AUDIO_DAC_SAMPLE_RATE` | __see next table__ | Effective bit rate of the DAC (in hertz), higher limits simultaneous tones, and lower sacrifices quality. |
| `AUDIO_DAC_BUFFER_SIZE` | __see next table__ | Number of samples generated every refill. Too few may cause excessive CPU load; too many may cause freezes, RAM or flash exhaustion or lags during matrix scanning. |
There are a number of predefined quality settings that you can use, with "sane minimum" being the default. You can use custom values by simply defining the sample rate and number of simultaneous tones, instead of using one of the listed presets.
There are a number of predefined quality settings that you can use, with "sane minimum" being the default. You can use custom values by simply defining the sample rate, number of simultaneous tones and buffer size, instead of using one of the listed presets.
| Define | Sample Rate | Simultaneous tones |
| --------------------------------- | ----------- | ------------------- |
| `AUDIO_DAC_QUALITY_VERY_LOW` | `11025U` | `8` |
| `AUDIO_DAC_QUALITY_LOW` | `22040U` | `4` |
| `AUDIO_DAC_QUALITY_HIGH` | `44100U` | `2` |
| `AUDIO_DAC_QUALITY_VERY_HIGH` | `88200U` | `1` |
| `AUDIO_DAC_QUALITY_SANE_MINIMUM` | `16384U` | `8` |
| Define | Sample Rate | Simultaneous tones | Buffer size |
| --------------------------------- | ----------- | ------------------- | ----------- |
| `AUDIO_DAC_QUALITY_VERY_LOW` | `11025U` | `8` | `64U` |
| `AUDIO_DAC_QUALITY_LOW` | `22050U` | `4` | `128U` |
| `AUDIO_DAC_QUALITY_HIGH` | `44100U` | `2` | `256U` |
| `AUDIO_DAC_QUALITY_VERY_HIGH` | `88200U` | `1` | `256U` |
| `AUDIO_DAC_QUALITY_SANE_MINIMUM` | `16384U` | `8` | `64U` |
#### Notes on buffer size :id=buffer-size
By default, the buffer size attempts to keep to these constraints:
* The interval between buffer refills can't be too short, since the microcontroller would then only be servicing buffer refills and would freeze up.
* On the additive driver, the interval between buffer refills can't be too long, since matrix scanning would suffer lengthy pauses every so often, which would delay key presses or releases or lose some short taps altogether.
* The interval between buffer refills is kept to a minimum, which allows notes to stop as soon as possible after they should.
* For greater compatibility, the buffer size should be a power of 2.
* The buffer size being too large causes resource exhaustion leading to build failures or freezing at runtime: RAM usage (on the additive driver) or flash usage (on the basic driver).
You can lower the buffer size if you need a bit more space in your firmware, or raise it if your keyboard freezes up.
```c
@ -186,6 +199,11 @@ with all this information, the configuration would contain these lines:
ChibiOS uses GPIOv1 for the F103, which only knows of one alternate function.
On 'larger' STM32s, GPIOv2 or GPIOv3 are used; with them it is also necessary to configure `AUDIO_PWM_PAL_MODE` to the correct alternate function for the selected pin, timer and timer-channel.
You can also use the Complementary output (`TIMx_CHyN`) for PWM on supported controllers. To enable this functionality, you will need to make the following changes:
```c
// config.h:
#define AUDIO_PWM_COMPLEMENTARY_OUTPUT
```
### PWM software :id=pwm-software

View File

@ -10,25 +10,25 @@ Practically, this means QMK merges the `develop` branch into the `master` branch
## What has been included in past Breaking Changes?
* [2024 Feb 25](ChangeLog/20240225.md)
* [2023 Nov 26](ChangeLog/20231126.md)
* [2023 Aug 27](ChangeLog/20230827.md)
* [2023 May 28](ChangeLog/20230528.md)
* [Older Breaking Changes](breaking_changes_history.md)
## When is the next Breaking Change?
The next Breaking Change is scheduled for November 26, 2023.
The next Breaking Change is scheduled for May 26, 2024.
### Important Dates
* 2023 Nov 26 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions.
* 2024 Jan 28 - `develop` closed to new PRs.
* 2024 Jan 28 - Call for testers.
* 2024 Feb 4 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes
* 2024 Feb 18 - `develop` is locked, only critical bugfix PRs merged.
* 2024 Feb 22 - `master` is locked, no PRs merged.
* 2024 Feb 25 - Merge `develop` to `master`.
* 2024 Feb 25 - `master` is unlocked. PRs can be merged again.
* 2024 Feb 25 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions.
* 2024 Apr 28 - `develop` closed to new PRs.
* 2024 Apr 28 - Call for testers.
* 2024 May 5 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes
* 2024 May 19 - `develop` is locked, only critical bugfix PRs merged.
* 2024 May 23 - `master` is locked, no PRs merged.
* 2024 May 26 - Merge `develop` to `master`.
* 2024 May 26 - `master` is unlocked. PRs can be merged again.
## What changes will be included?
@ -48,7 +48,7 @@ Criteria for acceptance:
Strongly suggested:
* The PR has a ChangeLog file describing the changes under `<qmk_firmware>/docs/Changelog/20240225`.
* The PR has a ChangeLog file describing the changes under `<qmk_firmware>/docs/Changelog/20240526`.
* This should be in Markdown format, with a name in the format `PR12345.md`, substituting the digits for your PRs ID.
* One strong recommendation that the ChangeLog document matches the PR description on GitHub, so as to ensure traceability.

View File

@ -2,6 +2,7 @@
This page links to all previous changelogs from the QMK Breaking Changes process.
* [2024 Feb 25](ChangeLog/20240225.md) - version 0.24.0
* [2023 Nov 26](ChangeLog/20231126.md) - version 0.23.0
* [2023 Aug 27](ChangeLog/20230827.md) - version 0.22.0
* [2023 May 28](ChangeLog/20230528.md) - version 0.21.0

View File

@ -223,7 +223,7 @@ If you define these options you will enable the associated feature, which may in
* Adds ability to [blink](feature_rgblight.md?id=lighting-layer-blink) a lighting layer for a specified number of milliseconds (e.g. to acknowledge an action).
* `#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF`
* If defined, then [lighting layers](feature_rgblight?id=overriding-rgb-lighting-onoff-status) will be shown even if RGB Light is off.
* `#define RGBLED_NUM 12`
* `#define RGBLIGHT_LED_COUNT 12`
* number of LEDs
* `#define RGBLIGHT_SPLIT`
* 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
@ -275,7 +275,7 @@ There are a few different ways to set handedness for split keyboards (listed in
* For using high/low pin to determine handedness, low = right hand, high = left hand. Replace `B7` with the pin you are using. This is optional, and if you leave `SPLIT_HAND_PIN` undefined, then you can still use the EE_HANDS method or MASTER_LEFT / MASTER_RIGHT defines like the stock Let's Split uses.
* `#define SPLIT_HAND_MATRIX_GRID <out_pin>,<in_pin>`
* The handedness is determined by using the intersection of the keyswitches in the key matrix, which does not exist. Normally, when this intersection is shorted (level low), it is considered left. If you define `#define SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT`, it is determined to be right when the level is low.
* The handedness is determined by using the intersection of the keyswitches in the key matrix, which does not exist. Normally, when this intersection is shorted (level low), it is considered right. If you define `#define SPLIT_HAND_MATRIX_GRID_LOW_IS_LEFT`, it is determined to be left when the level is low.
* `#define EE_HANDS` (only works if `SPLIT_HAND_PIN` and `SPLIT_HAND_MATRIX_GRID` are not defined)
* Reads the handedness value stored in the EEPROM after `eeprom-lefthand.eep`/`eeprom-righthand.eep` has been flashed to their respective halves.

View File

@ -119,11 +119,11 @@ void keyboard_pre_init_user(void) {
// Call the keyboard pre init code.
// Set our LED pins as output
setPinOutput(B0);
setPinOutput(B1);
setPinOutput(B2);
setPinOutput(B3);
setPinOutput(B4);
gpio_set_pin_output(B0);
gpio_set_pin_output(B1);
gpio_set_pin_output(B2);
gpio_set_pin_output(B3);
gpio_set_pin_output(B4);
}
```

View File

@ -70,13 +70,13 @@ The device name here is the name that appears in Zadig, and may not be what the
|Bootloader |Device Name |VID/PID |Driver |
|--------------|------------------------------|--------------|-------|
|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |libusb0|
|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |libusb0|
|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |libusb0|
|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |libusb0|
|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |libusb0|
|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |libusb0|
|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|libusb0|
|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |WinUSB |
|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |WinUSB |
|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |WinUSB |
|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |WinUSB |
|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |WinUSB |
|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |WinUSB |
|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|WinUSB |
|`halfkay` |*none* |`16C0:0478` |HidUsb |
|`caterina` |Pro Micro 3.3V |`1B4F:9203` |usbser |
|`caterina` |Pro Micro 5V |`1B4F:9205` |usbser |

View File

@ -1,8 +1,8 @@
# Bootmagic Lite :id=bootmagic-lite
# Bootmagic :id=bootmagic
The Bootmagic Lite feature that only handles jumping into the bootloader. This is great for boards that don't have a physical reset button, giving you a way to jump into the bootloader
The Bootmagic feature that only handles jumping into the bootloader. This is great for boards that don't have a physical reset button, giving you a way to jump into the bootloader
On some keyboards Bootmagic Lite is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk` with:
On some keyboards Bootmagic is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk` with:
```make
BOOTMAGIC_ENABLE = yes
@ -11,15 +11,15 @@ BOOTMAGIC_ENABLE = yes
Additionally, you may want to specify which key to use. This is especially useful for keyboards that have unusual matrices. To do so, you need to specify the row and column of the key that you want to use. Add these entries to your `config.h` file:
```c
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 1
#define BOOTMAGIC_ROW 0
#define BOOTMAGIC_COLUMN 1
```
By default, these are set to 0 and 0, which is usually the "ESC" key on a majority of keyboards.
And to trigger the bootloader, you hold this key down when plugging the keyboard in. Just the single key.
!> Using Bootmagic Lite will **always reset** the EEPROM, so you will lose any settings that have been saved.
!> Using Bootmagic will **always reset** the EEPROM, so you will lose any settings that have been saved.
## Split Keyboards
@ -44,35 +44,35 @@ When [handedness](feature_split_keyboard.md#setting-handedness) is predetermined
}
```
If you pick the top right key for the right half, it is `R05` on the top layout. Within the key matrix below, `R05` is located on row 4 columnn 4. To use that key as the right half's Bootmagic Lite trigger, add these entries to your `config.h` file:
If you pick the top right key for the right half, it is `R05` on the top layout. Within the key matrix below, `R05` is located on row 4 columnn 4. To use that key as the right half's Bootmagic trigger, add these entries to your `config.h` file:
```c
#define BOOTMAGIC_LITE_ROW_RIGHT 4
#define BOOTMAGIC_LITE_COLUMN_RIGHT 4
#define BOOTMAGIC_ROW_RIGHT 4
#define BOOTMAGIC_COLUMN_RIGHT 4
```
?> These values are not set by default.
## Advanced Bootmagic Lite
## Advanced Bootmagic
The `bootmagic_lite` function is defined weakly, so that you can replace this in your code, if you need. A great example of this is the Zeal60 boards that have some additional handling needed.
The `bootmagic_scan` function is defined weakly, so that you can replace this in your code, if you need. A great example of this is the Zeal60 boards that have some additional handling needed.
To replace the function, all you need to do is add something like this to your code:
```c
void bootmagic_lite(void) {
void bootmagic_scan(void) {
matrix_scan();
wait_ms(DEBOUNCE * 2);
matrix_scan();
if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) {
if (matrix_get_row(BOOTMAGIC_ROW) & (1 << BOOTMAGIC_COLUMN)) {
// Jump to bootloader.
bootloader_jump();
}
}
```
You can define additional logic here. For instance, resetting the EEPROM or requiring additional keys to be pressed to trigger Bootmagic Lite. Keep in mind that `bootmagic_lite` is called before a majority of features are initialized in the firmware.
You can define additional logic here. For instance, resetting the EEPROM or requiring additional keys to be pressed to trigger Bootmagic. Keep in mind that `bootmagic_scan` is called before a majority of features are initialized in the firmware.
## Addenda

View File

@ -333,27 +333,26 @@ will give the _NAV layer as a reference to it's self. All other layers
will have the default for their combo reference layer. If the default
is not set, all other layers will reference themselves.
```c
#define COMBO_REF_DEFAULT _MY_COMBO_LAYER
...
```c
#define COMBO_REF_DEFAULT _MY_COMBO_LAYER
uint8_t combo_ref_from_layer(uint8_t layer){
switch (get_highest_layer(layer_state)){
case _DVORAK: return _QWERTY;
case _NAV: return _NAV;
default: return _MY_COMBO_LAYER;
}
return layer; // important if default is not in case.
uint8_t combo_ref_from_layer(uint8_t layer){
switch (get_highest_layer(layer_state)){
case _DVORAK: return _QWERTY;
case _NAV: return _NAV;
default: return _MY_COMBO_LAYER;
}
```
return layer; // important if default is not in case.
}
```
The equivalent definition using the combo macros is this:
```c
COMBO_REF_LAYER(_DVORAK, _QWERTY)
COMBO_REF_LAYER(_NAV, _NAV)
DEFAULT_REF_LAYER(_MY_COMBO_LAYER).
```
```c
COMBO_REF_LAYER(_DVORAK, _QWERTY)
COMBO_REF_LAYER(_NAV, _NAV)
DEFAULT_REF_LAYER(_MY_COMBO_LAYER).
```
## User callbacks

View File

@ -19,6 +19,7 @@ The following converters are available at this time:
| `promicro` | `elite_pi` |
| `promicro` | `helios` |
| `promicro` | `liatris` |
| `promicro` | `imera` |
| `promicro` | `michi` |
| `elite_c` | `stemcell` |
| `elite_c` | `rp2040_ce` |
@ -82,6 +83,7 @@ If a board currently supported in QMK uses a [Pro Micro](https://www.sparkfun.co
| [Elite-Pi](https://keeb.io/products/elite-pi-usb-c-pro-micro-replacement-rp2040) | `elite_pi` |
| [0xCB Helios](https://keeb.supply/products/0xcb-helios) | `helios` |
| [Liatris](https://splitkb.com/products/liatris) | `liatris` |
| [Imera](https://splitkb.com/products/imera) | `imera` |
| [Michi](https://github.com/ci-bus/michi-promicro-rp2040) | `michi` |
Converter summary:
@ -99,6 +101,7 @@ Converter summary:
| `elite_pi` | `-e CONVERT_TO=elite_pi` | `CONVERT_TO=elite_pi` | `#ifdef CONVERT_TO_ELITE_PI` |
| `helios` | `-e CONVERT_TO=helios` | `CONVERT_TO=helios` | `#ifdef CONVERT_TO_HELIOS` |
| `liatris` | `-e CONVERT_TO=liatris` | `CONVERT_TO=liatris` | `#ifdef CONVERT_TO_LIATRIS` |
| `imera` | `-e CONVERT_TO=imera` | `CONVERT_TO=imera` | `#ifdef CONVERT_TO_IMERA` |
| `michi` | `-e CONVERT_TO=michi` | `CONVERT_TO=michi` | `#ifdef CONVERT_TO_MICHI` |
### Proton C :id=proton_c

View File

@ -20,6 +20,27 @@ or
#define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {2,6} } // List of row and col pairs
```
## DIP Switch map :id=dip-switch-map
DIP Switch mapping may be added to your `keymap.c`, which replicates the normal keyswitch functionality, but with dip switches. Add this to your keymap's `rules.mk`:
```make
DIP_SWITCH_MAP_ENABLE = yes
```
Your `keymap.c` will then need a dip switch mapping defined (for two dip switches):
```c
#if defined(DIP_SWITCH_MAP_ENABLE)
const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = {
DIP_SWITCH_OFF_ON(DF(0), DF(1)),
DIP_SWITCH_OFF_ON(EC_NORM, EC_SWAP)
};
#endif
```
?> This should only be enabled at the keymap level.
## Callbacks
The callback functions can be inserted into your `<keyboard>.c`:

View File

@ -82,10 +82,10 @@ Your `keymap.c` will then need an encoder mapping defined (for four layers and t
```c
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
[0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
};
#endif
```

View File

@ -50,10 +50,6 @@ Axes can be configured using one of the following macros:
* `JOYSTICK_AXIS_IN(input_pin, low, rest, high)`
The ADC samples the provided pin. `low`, `high` and `rest` correspond to the minimum, maximum, and resting (or centered) analog values of the axis, respectively.
* `JOYSTICK_AXIS_IN_OUT(input_pin, output_pin, low, rest, high)`
Same as `JOYSTICK_AXIS_IN()`, but the provided `output_pin` will be pulled high before `input_pin` is read.
* `JOYSTICK_AXIS_IN_OUT_GROUND(input_pin, output_pin, ground_pin, low, rest, high)`
Same as `JOYSTICK_AXIS_IN_OUT()`, but the provided `ground_pin` will be pulled low before reading from `input_pin`.
* `JOYSTICK_AXIS_VIRTUAL`
No ADC reading is performed. The value should be provided by user code.
@ -160,12 +156,8 @@ Describes a single axis.
#### Members :id=api-joystick-config-t-members
- `pin_t output_pin`
A pin to set as output high when reading the analog value, or `JS_VIRTUAL_AXIS`.
- `pin_t input_pin`
The pin to read the analog value from, or `JS_VIRTUAL_AXIS`.
- `pin_t ground_pin`
A pin to set as output low when reading the analog value, or `JS_VIRTUAL_AXIS`.
- `uint16_t min_digit`
The minimum analog value.
- `uint16_t mid_digit`

Some files were not shown because too many files have changed in this diff Show More