1
0
Fork 0

Add audio driver to keyboard.json schema (#23616)

This commit is contained in:
Joel Challis 2024-04-26 05:41:22 +01:00 committed by GitHub
parent 42f61611e8
commit d333a25868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 59 additions and 22 deletions

View file

@ -11,6 +11,7 @@
// invalid: Default `false`. Set to `true` to generate errors when a value exists
// replace_with: use with a key marked deprecated or invalid to designate a replacement
"AUDIO_DRIVER": {"info_key": "audio.driver"},
"BACKLIGHT_DRIVER": {"info_key": "backlight.driver"},
"BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"},
"BOARD": {"info_key": "board"},

View file

@ -133,6 +133,10 @@
"clicky": {"type": "boolean"}
}
},
"driver": {
"type": "string",
"enum": ["dac_additive", "dac_basic", "pwm_software", "pwm_hardware"]
},
"macro_beep": {"type": "boolean"},
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
"power_control": {