mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Add DD mappings for locking switch (#22242)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
8e3903ca38
commit
896d3dc497
|
@ -79,6 +79,10 @@
|
||||||
"LED_MATRIX_VAL_STEP": {"info_key": "led_matrix.val_steps", "value_type": "int"},
|
"LED_MATRIX_VAL_STEP": {"info_key": "led_matrix.val_steps", "value_type": "int"},
|
||||||
"LED_MATRIX_LED_COUNT": {"info_key": "led_matrix.led_count", "value_type": "int", "to_json": false},
|
"LED_MATRIX_LED_COUNT": {"info_key": "led_matrix.led_count", "value_type": "int", "to_json": false},
|
||||||
|
|
||||||
|
// Locking Switch
|
||||||
|
"LOCKING_SUPPORT_ENABLE": {"info_key": "qmk.locking.enabled", "value_type": "bool"},
|
||||||
|
"LOCKING_RESYNC_ENABLE": {"info_key": "qmk.locking.resync", "value_type": "bool"},
|
||||||
|
|
||||||
// LUFA Bootloader
|
// LUFA Bootloader
|
||||||
"QMK_ESC_INPUT": {"info_key": "qmk_lufa_bootloader.esc_input"},
|
"QMK_ESC_INPUT": {"info_key": "qmk_lufa_bootloader.esc_input"},
|
||||||
"QMK_ESC_OUTPUT": {"info_key": "qmk_lufa_bootloader.esc_output"},
|
"QMK_ESC_OUTPUT": {"info_key": "qmk_lufa_bootloader.esc_output"},
|
||||||
|
|
|
@ -756,7 +756,15 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"keys_per_scan": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
|
"keys_per_scan": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
|
||||||
"tap_keycode_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
"tap_keycode_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
||||||
"tap_capslock_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"}
|
"tap_capslock_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
||||||
|
"locking": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"enabled": {"type": "boolean"},
|
||||||
|
"resync": {"type": "boolean"}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"qmk_lufa_bootloader": {
|
"qmk_lufa_bootloader": {
|
||||||
|
|
|
@ -60,6 +60,13 @@ You can create `info.json` files at every level under `qmk_firmware/keyboards/<k
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
* `qmk`
|
* `qmk`
|
||||||
|
* `locking`
|
||||||
|
* `enabled`
|
||||||
|
* Enable locking switch support.
|
||||||
|
* Default: `false`
|
||||||
|
* `resync`
|
||||||
|
* Keep switch state consistent with keyboard LED state.
|
||||||
|
* Default: `false`
|
||||||
* `tap_capslock_delay`
|
* `tap_capslock_delay`
|
||||||
* The delay between keydown and keyup for Caps Lock tap events in milliseconds.
|
* The delay between keydown and keyup for Caps Lock tap events in milliseconds.
|
||||||
* Default: `80` (80 ms)
|
* Default: `80` (80 ms)
|
||||||
|
|
Loading…
Reference in a new issue