Fix audio.pins in keyboard.json not being converted to C defines (#26107)

* Fix audio.pins in keyboard.json not being converted to C defines

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix audio.pins in keyboard.json not being converted to C defines

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix 'list index out of range' on missing config

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: zvecr <git@zvecr.com>
This commit is contained in:
Yoichiro Tanaka
2026-06-09 11:26:41 -07:00
committed by GitHub
co-authored by Claude Opus 4.6 zvecr
parent f34bc9a6bc
commit 1ef87578e2
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -19,6 +19,8 @@
// Audio
"AUDIO_DEFAULT_ON": {"info_key": "audio.default.on", "value_type": "bool"},
"AUDIO_DEFAULT_CLICKY_ON": {"info_key": "audio.default.clicky", "value_type": "bool"},
"AUDIO_PIN": {"info_key": "audio.pins.0"},
"AUDIO_PIN_ALT": {"info_key": "audio.pins.1"},
"AUDIO_POWER_CONTROL_PIN": {"info_key": "audio.power_control.pin"},
"AUDIO_POWER_CONTROL_PIN_ON_STATE": {"info_key": "audio.power_control.on_state", "value_type": "int" },
"AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "flag"},