Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from qmk:master #737

Open
wants to merge 4,892 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
4892 commits
Select commit Hold shift + click to select a range
3a5be8b
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 6, 2024
1a284f2
Fix Caps Lock indication on Valhalla v2 (#23012)
Gondolindrim Oct 7, 2024
8c27ae8
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 7, 2024
c3ffbe4
add ergodox Community Layout for LAYOUT_ergodox keyboards (#22963)
dunk2k Oct 7, 2024
c0d57a6
Fix indicator code for NK classics (#24462)
yiancar Oct 8, 2024
8cc6127
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 8, 2024
fb598e7
Fixup Lily58 keymap comment (#24466)
filterpaper Oct 9, 2024
00db6f2
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 9, 2024
49a1a12
Expand count checks in keymap introspection (#24464)
drashna Oct 10, 2024
29bc842
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 10, 2024
4055798
[Keyboard] Add Piantor UV 44 (#24247)
azhizhinov Oct 11, 2024
c8a87ff
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 11, 2024
27d68ef
Add Ploopyco functions for host state control (#23953)
t4corun Oct 11, 2024
f43c912
Add Scotto37 handwired keyboard (#23938)
joe-scotto Oct 11, 2024
eac4053
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 11, 2024
f0b5feb
fix hotdox76v2 oled font to more closely mirror utf8 (#23807)
wdouglass Oct 11, 2024
049865c
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 11, 2024
c95f0fb
`mykeyclub/jris65/hotswap`: fix keymap (#24472)
fauxpark Oct 11, 2024
9246163
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 11, 2024
40d49ee
Fix duplication of core `GU_TOGG` keycode (#24474)
zvecr Oct 11, 2024
a10e7cc
Fix rendering of `keymap_config.no_gui` within `led_update_kb` (#24473)
zvecr Oct 11, 2024
6129af9
Rename RGB and HSV structs (#24471)
fauxpark Oct 11, 2024
8844fba
Update combo user function variable (#24467)
filterpaper Oct 11, 2024
9d17779
Add svlinky converter (#24449)
sadekbaroudi Oct 11, 2024
11daef8
zsa/moonlander: Fix execution of user callback (#24475)
zvecr Oct 11, 2024
5c97a78
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 11, 2024
6fa11bf
Separate RGBLight/RGB Matrix keycode handling (#23679)
fauxpark Oct 12, 2024
5478051
[Core] quantum: util: add bit and bitmask helpers (#24229)
KarlK90 Oct 12, 2024
9884e49
Rename RGB/HSV structs: keyboard-level code (#24476)
fauxpark Oct 12, 2024
dd0068c
keebio/nyquist: Remove invalid I2C config (#24479)
zvecr Oct 12, 2024
d0d170e
xiudi/xd002: Remove broken oversized `multilayer_rgb` keymap (#24480)
zvecr Oct 12, 2024
1358182
horrortroll/nyx/rev1: Fix compilation of custom RGB effect (#24481)
zvecr Oct 13, 2024
85a7627
Digitizer: fix units tag in report descriptor (#24482)
fauxpark Oct 15, 2024
7e53bb9
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 15, 2024
2ad1303
[Keyboard] Add JK60 RGB (#24485)
alabahuy Oct 16, 2024
6602ee0
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 16, 2024
3600892
add vector macropad (#24487)
daviddoan Oct 17, 2024
80f8aae
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 17, 2024
3f9d464
[Core] `usb_device_state`: consolidate usb state handling across impl…
KarlK90 Oct 18, 2024
7f22cb5
Correct layouts/default/readme.md (#23805)
dunk2k Oct 18, 2024
22e6a8d
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 18, 2024
baa29fe
[Bug] Fix compiliation issues with OS Detection (#24502)
drashna Oct 19, 2024
c6b2553
Rename saevus to concreteflowers (#24249)
ramonimbao Oct 19, 2024
459de98
Fix 6x13 default keymap (#24509)
swift502 Oct 21, 2024
b2608e3
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 21, 2024
453ec00
Add Iris LM series of keyboards (#24510)
nooges Oct 23, 2024
11db924
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 23, 2024
bb9625b
RGBLight: Improve RGB Test animation (#24477)
fauxpark Oct 24, 2024
3b874ee
[Keyboard] Add xdboards/recon keyboard (#24135)
xanimos Oct 24, 2024
d316331
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 24, 2024
bf327f7
[Keyboard] Add SIRIND Tomak79H (#24505)
eerraa Oct 25, 2024
d00df05
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 25, 2024
32b6faa
Add Vanguard65 Keyboard (#24497)
mrnoisytiger Oct 25, 2024
f486605
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 25, 2024
5c85271
Add timer_save and _restore functions. (#23887)
daskygit Oct 25, 2024
f5b495e
Move pointing device driver code (#24445)
daskygit Oct 25, 2024
7005522
Add madjax_macropad keyboard (#24524)
guidoism Oct 28, 2024
644588b
Refactor Riverflow matrix effect with runner (#24520)
filterpaper Oct 28, 2024
01f6fa7
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 28, 2024
d9fedce
Update Pixel Rain to respect LED range limits (#24532)
filterpaper Oct 28, 2024
dd7287b
Update Jellybean Raindrops to respect LED range limits (#24534)
filterpaper Oct 28, 2024
25fac5e
Refactor Breathing effect with runner (#24535)
filterpaper Oct 28, 2024
2c0cdcf
Improve consistency of syntax within `data/constants/keycodes` (#24528)
ngrigoriev Oct 28, 2024
7630a80
Change default ARM hardware PWM WS2812 tick frequency to 800kHz (#24508)
infinityis Oct 28, 2024
7c9e650
[Keyboard] Add S6xty PCB (#24465)
trnthsn Oct 28, 2024
9540671
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 28, 2024
06b7dce
Refactor LED Breathing effect with runner (#24540)
filterpaper Oct 28, 2024
2aa1868
Cipulot Updates (#24539)
Cipulot Oct 28, 2024
92afc81
[Keyboard] Add Singa Kohaku (#24309)
itsme-zeix Oct 29, 2024
b8dd099
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 29, 2024
e6daffc
Handle `cli._subcommand.__name__` deprecation warning (#24533)
zvecr Oct 30, 2024
114b3db
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 30, 2024
6693a30
Remove `appdirs` from `requirements.txt` (#24550)
zvecr Oct 30, 2024
834f88b
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 30, 2024
465cbc8
Handle 'MILCInterface' object has no attribute 'log_level' error (#24…
zvecr Oct 30, 2024
f1f8750
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Oct 30, 2024
292e0af
Bump minimum required Python version (#24554)
zvecr Oct 31, 2024
c8cdee3
[Keyboard] Add KLEC-01 (#24543)
takashicompany Nov 3, 2024
81a6f3e
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 3, 2024
6fbfd65
Add new keyboard "KLEC-02" (#24559)
takashicompany Nov 6, 2024
cfb870d
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 6, 2024
f5f11b7
Add keyboards/converter/thinkpad_t6x/rpi_pico (#23696)
sly547 Nov 6, 2024
7877023
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 6, 2024
f4e6af2
Adding SdraKb00 keyboard (#24552)
drabaioli Nov 6, 2024
83950c7
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 6, 2024
54860ed
[Keyboard] Add Teton78 (#24562)
AwesomeBalogh Nov 8, 2024
3cda9ff
Adding support for Windstudio's Wind X R1 keyboard (#24564)
ChrisGVE Nov 8, 2024
f2a7f4b
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 8, 2024
4f9ef90
Add keyboard buff75 (#24297)
Vem-596 Nov 8, 2024
b10fa50
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 8, 2024
580d18d
Speed improvements to `qmk find`. (#24385)
tzarc Nov 8, 2024
b17322b
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 8, 2024
9523ed9
Expose rgb_matrix_update_pwm_buffers to be available in keymaps (#24573)
ericvw Nov 8, 2024
e31eeb8
added support for shorty KB (#24518)
axshae Nov 8, 2024
fca6ad4
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 8, 2024
fb3a414
Add Idyllic Pizza Pad (#24566)
zykrah Nov 9, 2024
94b6039
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 9, 2024
10849da
Add Fuyu HS (#24567)
zykrah Nov 9, 2024
f156e57
[Keyboard] Add tenstad (#24571)
tenstad Nov 9, 2024
b06e9fd
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 9, 2024
b3f5408
[docs] Fix dead link to keyboard list in newbs.md (#24579)
fauxpark Nov 9, 2024
a8fc265
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 9, 2024
3eb172d
[docs] Turn on icons for external links (#24580)
fauxpark Nov 9, 2024
69093f6
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 9, 2024
a3cfb1d
Joystick: add support for 8-way hat switch (#24515)
fauxpark Nov 9, 2024
8cbd631
remove "w": 1 from /keyboards/ (#24587)
dunk2k Nov 10, 2024
291f199
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 10, 2024
9cd7896
Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9 (#24592)
dependabot[bot] Nov 12, 2024
be7b479
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 12, 2024
3d4da6d
[docs] Add "edit this page" link at the bottom (#24585)
fauxpark Nov 12, 2024
4e77ab6
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 12, 2024
4757ef2
[Keyboard] Add Majestouch Redux (#24586)
Druah Nov 13, 2024
d04789e
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 13, 2024
a8a47c4
Perform test compiles during `qmk doctor`. (#24282)
tzarc Nov 14, 2024
f8b4e24
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 14, 2024
0bda0f4
Revert removal of `QK_OUTPUT_AUTO`, fixup docs to reflect. (#24593)
tzarc Nov 14, 2024
46236ce
[docs] Improve halconf/mcuconf code examples (#24597)
fauxpark Nov 14, 2024
79a661f
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 14, 2024
f4e58ee
docs: move description of host_language from Macros to Language-speci…
tenstad Nov 15, 2024
310c484
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 15, 2024
da34d65
[Keyboard]Add Lily58 Lite Rev3(lily58/lite_rev3) (#24255)
kata0510 Nov 17, 2024
5ab408a
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 17, 2024
3a6df60
docs: fix RWIN alias (#24610)
tenstad Nov 17, 2024
7936a79
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 17, 2024
0988523
Fix typo in docs/api_development_overview.md (#24620)
russell-myers1 Nov 19, 2024
0853a8e
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 19, 2024
c843ad1
Add Sagittarius encoder support. (#24617)
tzarc Nov 19, 2024
e66fce3
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 19, 2024
9c86583
Backward compatibility for new RGB keycode handling (#24490)
fauxpark Nov 19, 2024
88afd53
[CLI] Refactor painter arguments to table instead of commandline (#24…
elpekenin Nov 21, 2024
8cbcdca
`qmk new-keymap`: validate keymap name (#23420)
fauxpark Nov 21, 2024
9bea332
`qmk via2json`: Improve macro parsing (#24345)
fauxpark Nov 21, 2024
638b22d
`qmk new-keyboard`: separate dev board and MCU selection (#24548)
fauxpark Nov 21, 2024
074bbbf
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 21, 2024
39161b9
Added MCU support for ArteryTek AT32F415 (#23445)
HorrorTroll Nov 21, 2024
36b5559
[Core] Add Layer Lock feature (#23430)
drashna Nov 21, 2024
c7a04bd
Bring supported STM32F4 configs in line with F4x1 (#24413)
drashna Nov 21, 2024
65a8a5f
`qmk find`: expand operator support (#24468)
fauxpark Nov 21, 2024
968a611
Review fixes for layer lock feature (#24627)
zvecr Nov 21, 2024
57be487
Fix rendering of `reference_configurator_support.md` (#24629)
zvecr Nov 21, 2024
9e9b4ac
Merge remote-tracking branch 'origin/master' into develop
qmk-bot Nov 21, 2024
4a5bae5
[Feature] Add keycode PDF(layer) to set the default layer in EEPROM (…
zvecr Nov 23, 2024
e4e015c
Update keymaps to use PDF keycode (#24633)
zvecr Nov 23, 2024
d189de2
Simple Python script to show polling rate (#24622)
fauxpark Nov 23, 2024
1f7d109
Add pointing tests (#24513)
daskygit Nov 23, 2024
859dab8
Remove keyboard use of eeconfig_read_default_layer (#24635)
zvecr Nov 23, 2024
7d8f193
Allow codegen of `keymap.json` => `keymap.c` without requiring layers…
tzarc Nov 24, 2024
f3bae56
Update keycodes for keyboards with RGB Matrix (#24484)
fauxpark Nov 24, 2024
36f306b
Provide method to save a single default layer in the full range of 0-…
zvecr Nov 24, 2024
b7b0eb7
`develop` 2024q4 changelog. (#24638)
tzarc Nov 27, 2024
eb04b94
Merge point for 2024q4 breaking change.
tzarc Nov 27, 2024
9f76541
Merge branch 'develop'
tzarc Nov 27, 2024
66d0d53
Bump JamesIves/github-pages-deploy-action from 4.6.9 to 4.7.1 (#24654)
dependabot[bot] Nov 28, 2024
97547ac
Update leftover RGB keycodes (#24653)
fauxpark Nov 30, 2024
1da8aa8
Improve "feature/encoder config both specified" warnings (#24641)
fauxpark Nov 30, 2024
5eb53be
Avoid loading keymap rules.mk twice (#24665)
zvecr Dec 1, 2024
b022d3b
[Keyboard] Add fistbnmp (#24595)
lesshonor Dec 2, 2024
39c40f5
Add Xlant XL keyboard (#24608)
ChrisGVE Dec 2, 2024
be7786b
Addition of Hotdog Pad (#24650)
onnenon Dec 2, 2024
e592a7d
[Keyboard] Added nibell micropad4x4 (#24662)
Nibell Dec 2, 2024
fa3be8a
sawnsprojects/bunnygirl65: Fix typo in name (#24668)
MaiTheSan Dec 2, 2024
0ad3ffd
[Keyboard] Add support E8ghty (#24632)
trnthsn Dec 2, 2024
cd286e4
[Keyboard] Add suika27melo (#24616)
suikagiken Dec 2, 2024
28320f0
[Keyboard] Add support S6xty5Neo Rev.2 (#24631)
trnthsn Dec 2, 2024
e4e66c6
[murcielago] Enable split watchdog (#24463)
tomsquest Dec 2, 2024
09dfbf8
[Keyboard] Add h88 gen2 (#24454)
hineybush Dec 2, 2024
5096693
Add new keyboard "Jourkey" (#24409)
takashicompany Dec 2, 2024
c8fe565
[Keyboard] Add splitkb.com's Halcyon Kyria rev4 (#24512)
VeyPatch Dec 2, 2024
191172a
[Keyboard] Add NCR80 ALPS SKFL/FR (#24625)
MaiTheSan Dec 3, 2024
c5eeac9
[Keyboard] Add keyboard reviung46 (#24245)
gtips Dec 3, 2024
93765bb
Update hardware_keyboard_guidelines.md to Fix Typos (#24671)
russell-myers1 Dec 3, 2024
f0eb246
Bump JamesIves/github-pages-deploy-action from 4.7.1 to 4.7.2 (#24672)
dependabot[bot] Dec 3, 2024
e7f1388
Add cornia keyboard (#24442)
Vaarai Dec 3, 2024
85222df
Add a keyboard entry for yacobo model m replacement control boards (#…
sje-mse Dec 3, 2024
a794cee
[Keyboard] Add dactyl_manuform_pi_pico (#23891)
GustawXYZ Dec 3, 2024
c2bc6e2
[Keyboard] Add cans12erv2 (#24628)
canbaytok Dec 4, 2024
88d4462
[Keyboard] Add Marcopad (#24636)
marcopelegrini Dec 4, 2024
8094a1d
Addition of EC Constellation (#24644)
Cipulot Dec 4, 2024
5dc92ed
Addition of EC1-AT (#24645)
Cipulot Dec 4, 2024
d01303c
[Keyboard] add kbd0 Curve0 60 ANSI (#24609)
kbd0 Dec 4, 2024
3c324cb
[Keyboard] Add Binepad BNK8 keyboard (#24598)
silvinor Dec 4, 2024
d76f7bf
Add Cerberus to QMK (#24226)
awkannan Dec 5, 2024
09fdabf
Fix keymap.json error of keyboard/suikagiken/suika27melo (#24677)
suikagiken Dec 5, 2024
03937e0
Add Macroflow Original macropad firmware (#24538)
Patrickemm Dec 6, 2024
a12ff28
Organise default community layouts summary (#24500)
fauxpark Dec 6, 2024
782f91a
[Keyboard] Add SIRIND Tomak79S (#24684)
eerraa Dec 8, 2024
1c6d3d0
Adding new keyboard Promenade RP24S (#24689)
Feags Dec 9, 2024
379bb77
fix: KC_MEDIA_PLAY_PAUSE label (#24693)
tenstad Dec 9, 2024
3c35952
Adding ctrl-M replacement controller for IBM Model M (#24375)
nuess0r Dec 9, 2024
39958fe
[Keyboard] Add Orbweaver (#24692)
Lostdotfish Dec 9, 2024
388c3c6
Addition of EC65X (#24648)
Cipulot Dec 9, 2024
847257c
Addition of EC TKL X (#24647)
Cipulot Dec 9, 2024
d283e27
[Keymap] Update rp2040_orbweaver (#24704)
Lostdotfish Dec 11, 2024
d589dbb
Added VT-40 keyboard (#24706)
guidoism Dec 12, 2024
597bbcb
Add licensing violations page. (#24697)
tzarc Dec 13, 2024
2d33a20
[Keyboard] add swagkeys eave (#24711)
Xelus22 Dec 14, 2024
296e453
[Keyboard] swagkeys integral (#24712)
Xelus22 Dec 14, 2024
767dfbb
Resolve `cli.log.warn` warnings (#24551)
zvecr Dec 15, 2024
a7d12e4
[Keyboard] wilba_tech/wt45_h1 (#24717)
lesshonor Dec 18, 2024
c988584
Add Reverie to QMK (#24227)
awkannan Dec 18, 2024
f3fe59a
fix: mechwild/bb65 coordinate mix-up (#24738)
lesshonor Dec 22, 2024
9877af9
[Keyboard] Add keycult 1800 (#24729)
yiancar Dec 22, 2024
58807b0
Clarify keymap location and format in newbs_building_firmware.md (#24…
NBeing Dec 22, 2024
18cca20
DecenTKL main keyboard (#24702)
bleroy Dec 24, 2024
e6fa351
DecenTKL numpad (#24696)
bleroy Dec 24, 2024
18f0d11
[Keyboard] Add SIRIND Brick65S (#24315)
eerraa Dec 24, 2024
0b5e705
add mellow keyboard (#24319)
moyi4681 Dec 24, 2024
276f84a
add chlx piche (#24252)
gaclee3b Dec 24, 2024
40c93bc
[Keyboard] Add Somei70 (#24444)
gzowski Dec 24, 2024
a822545
Set custom effect defines for LED Matrix (#24745)
zvecr Dec 24, 2024
5832301
Add ArteryTek AT32 dfu to udev rules (#24747)
drashna Dec 25, 2024
5593e73
[bug] Djinn theme fix. (#24754)
tzarc Dec 27, 2024
f549948
Skip parsing g_led_config when matrix_size is missing (#24739)
zvecr Dec 27, 2024
fd0a552
[Keyboard] Ghoul TKL (#24762)
chillKB Dec 30, 2024
fe2200f
Remove invalid "effect_max" animation from keyboards (#24767)
zvecr Dec 31, 2024
53680fa
Fix g_led_config parse warning (#24769)
zvecr Jan 1, 2025
57f89e5
[CI] Regenerate Files (#24770)
qmk-bot Jan 1, 2025
ac140e5
Fix link to TMK magic commands (#24773)
tochev Jan 2, 2025
172c349
[Keyboard] Add handwired/dactyl_manuform/5x8 (#24726)
iliorik Jan 2, 2025
9a0f4e5
Add shuguet shu89 (#24758)
shuguet Jan 3, 2025
cc3823f
Update some changes for AT32F415 (#24766)
HorrorTroll Jan 3, 2025
4da260a
[Keyboard] Add 3W6HS (#22539)
l4u Jan 4, 2025
9dba024
Add EE_HANDS for KLEC-02 (#24777)
takashicompany Jan 4, 2025
c9f9475
Fix durgod k3x0 docs (#24774)
tochev Jan 4, 2025
bcee1d2
Remove preprocessor sanity check for STM32L0/L1 now that it relies on…
tzarc Jan 6, 2025
6facb7a
Convert stray legacy warn/info docs panels (#24799)
zvecr Jan 8, 2025
95c74b6
[Docs] Fix wording in Mod Tap documentation (#24796)
waffle87 Jan 8, 2025
80c90a6
[Bug] Fix Underglow keycode processing (#24798)
drashna Jan 8, 2025
d90b6e4
Fix a build warning and tidy up a keymap (#24805)
fauxpark Jan 10, 2025
35c6520
Bump nanoid from 3.3.7 to 3.3.8 in /builddefs/docsgen (#24713)
dependabot[bot] Jan 10, 2025
26f898c
`salane/ncr80alpsskfl`: add additional layouts (#24809)
fauxpark Jan 13, 2025
7b83bb9
Allow running Docker container on MacOS (without in-container USB sup…
haimgel Jan 15, 2025
6b368f4
[Keyboard] Add ic45v2 (#24818)
lighteningAB Jan 18, 2025
d73c64e
`kikoslab/kl90`: fix keymap (#24826)
fauxpark Jan 18, 2025
3c40e14
Add Lily (#24813)
Cipulot Jan 18, 2025
a573931
License violations updates. (#24831)
tzarc Jan 20, 2025
163b894
Updated Licence Violations for Chosfox L75 (#24833)
rorychatterton Jan 21, 2025
5650894
Add Model-B keyboard (#24681)
TrojanPinata Jan 24, 2025
6a9ccae
Fix missing wait.h include in Dip Switch Map (#24863)
drashna Jan 25, 2025
0a04916
[License Violation] add pressplayid (#24869)
Xelus22 Jan 25, 2025
5f711f0
[Keyboard] Add Support E8ghtyNeo (#24859)
trnthsn Jan 25, 2025
04c2dbd
Add keyboard clap_studio/flame60 (#24870)
mickimnet Jan 26, 2025
76b5cef
Reject keyboard.json next to info.json (#24882)
zvecr Jan 29, 2025
ea3a968
Bump vite from 5.2.14 to 5.4.12 in /builddefs/docsgen (#24852)
dependabot[bot] Jan 29, 2025
8bf01dd
[OS Detection] Improve MacOS detection (#24708)
drashna Jan 29, 2025
fa98117
Add Keychron C3 Pro (Red & RGB) (#24874)
adophoxia Jan 29, 2025
2699e2f
Avoid WindowsPath errors for 'qmk format-text' (#24905)
zvecr Feb 8, 2025
5e88647
Fix installation of clang in gentoo install script (#24917)
wmatex Feb 15, 2025
ad2c0f3
Add more stale exemption labels. (#24922)
tzarc Feb 16, 2025
a5c77b5
Fix startup sound for Planck (#24893)
JunoNgx Feb 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[CLI] Refactor painter arguments to table instead of commandline (qmk…
…#24456)

Co-authored-by: Nick Brassel <nick@tzarc.org>
  • Loading branch information
elpekenin and tzarc authored Nov 21, 2024
commit 88afd53b1fb4183195ac5ee9d1d1c9506de3814e
4 changes: 1 addition & 3 deletions lib/python/qmk/cli/painter/convert_graphics.py
Original file line number Diff line number Diff line change
@@ -60,9 +60,7 @@ def painter_convert_graphics(cli):
return

# Work out the text substitutions for rendering the output data
args_str = " ".join((f"--{arg} {getattr(cli.args, arg.replace('-', '_'))}" for arg in ["input", "output", "format", "no-rle", "no-deltas"]))
command = f"qmk painter-convert-graphics {args_str}"
subs = generate_subs(cli, out_bytes, image_metadata=metadata, command=command)
subs = generate_subs(cli, out_bytes, image_metadata=metadata, command_name="painter_convert_graphics")

# Render and write the header file
header_text = render_header(subs)
4 changes: 1 addition & 3 deletions lib/python/qmk/cli/painter/make_font.py
Original file line number Diff line number Diff line change
@@ -61,10 +61,8 @@ def painter_convert_font_image(cli):
return

# Work out the text substitutions for rendering the output data
args_str = " ".join((f"--{arg} {getattr(cli.args, arg.replace('-', '_'))}" for arg in ["input", "output", "no-ascii", "unicode-glyphs", "format", "no-rle"]))
command = f"qmk painter-convert-font-image {args_str}"
metadata = {"glyphs": _generate_font_glyphs_list(not cli.args.no_ascii, cli.args.unicode_glyphs)}
subs = generate_subs(cli, out_bytes, font_metadata=metadata, command=command)
subs = generate_subs(cli, out_bytes, font_metadata=metadata, command_name="painter_convert_font_image")

# Render and write the header file
header_text = render_header(subs)
32 changes: 28 additions & 4 deletions lib/python/qmk/painter.py
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
import datetime
import math
import re
from pathlib import Path
from string import Template
from PIL import Image, ImageOps

@@ -137,18 +138,40 @@ def _render_image_metadata(metadata):
return "\n".join(lines)


def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, command):
def command_args_str(cli, command_name):
"""Given a command name, introspect milc to get the arguments passed in."""

args = {}
max_length = 0
for arg_name, was_passed in cli.args_passed[command_name].items():
max_length = max(max_length, len(arg_name))

val = getattr(cli.args, arg_name.replace("-", "_"))

# do not leak full paths, keep just file name
if isinstance(val, Path):
val = val.name

args[arg_name] = val

return "\n".join(f"// {arg_name.ljust(max_length)} | {val}" for arg_name, val in args.items())


def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, command_name):
if font_metadata is not None and image_metadata is not None:
raise ValueError("Cant generate subs for font and image at the same time")

args = command_args_str(cli, command_name)

subs = {
"year": datetime.date.today().strftime("%Y"),
"input_file": cli.args.input.name,
"sane_name": re.sub(r"[^a-zA-Z0-9]", "_", cli.args.input.stem),
"byte_count": len(out_bytes),
"bytes_lines": render_bytes(out_bytes),
"format": cli.args.format,
"generator_command": command,
"generator_command": command_name.replace("_", "-"),
"command_args": args,
}

if font_metadata is not None:
@@ -167,7 +190,7 @@ def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, co
subs.update({
"generated_type": "image",
"var_prefix": "gfx",
"generator_command": command,
"generator_command": command_name,
"metadata": _render_image_metadata(image_metadata),
})

@@ -183,7 +206,8 @@ def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, co
// Copyright ${year} QMK -- generated source code only, ${generated_type} retains original copyright
// SPDX-License-Identifier: GPL-2.0-or-later

// This file was auto-generated by `${generator_command}`
// This file was auto-generated by `${generator_command}` with arguments:
${command_args}
"""