2021-08-17 04:33:30 +06:00
|
|
|
# This file maps keys between `rules.mk` and `info.json`. It is used by QMK
|
2021-02-01 02:46:00 +06:00
|
|
|
# to correctly and consistently map back and forth between the two systems.
|
|
|
|
{
|
|
|
|
# Format:
|
|
|
|
# <rules.mk key>: {"info_key": <info.json key>, ["value_type": <value_type>], ["to_json": <true/false>], ["to_c": <true/false>]}
|
2022-03-04 19:25:24 +06:00
|
|
|
# value_type: one of "array", "array.int", "bool", "int", "list", "hex", "mapping", "str", "raw"
|
2021-02-01 02:46:00 +06:00
|
|
|
# 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 rules.mk
|
|
|
|
# warn_duplicate: Default `true`. Set to `false` to turn off warning when a value exists in both places
|
|
|
|
"BOARD": {"info_key": "board"},
|
|
|
|
"BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false},
|
2021-08-17 04:33:30 +06:00
|
|
|
"BLUETOOTH": {"info_key": "bluetooth.driver"},
|
|
|
|
"FIRMWARE_FORMAT": {"info_key": "build.firmware_format"},
|
|
|
|
"KEYBOARD_SHARED_EP": {"info_key": "usb.shared_endpoint.keyboard", "value_type": "bool"},
|
|
|
|
"MOUSE_SHARED_EP": {"info_key": "usb.shared_endpoint.mouse", "value_type": "bool"},
|
2021-02-01 02:46:00 +06:00
|
|
|
"LAYOUTS": {"info_key": "community_layouts", "value_type": "list"},
|
|
|
|
"LED_MATRIX_DRIVER": {"info_key": "led_matrix.driver"},
|
2021-08-17 04:33:30 +06:00
|
|
|
"LTO_ENABLE": {"info_key": "build.lto", "value_type": "bool"},
|
2021-02-01 02:46:00 +06:00
|
|
|
"MCU": {"info_key": "processor", "warn_duplicate": false},
|
2021-08-17 04:33:30 +06:00
|
|
|
"MOUSEKEY_ENABLE": {"info_key": "mouse_key.enabled", "value_type": "bool"},
|
|
|
|
"NO_USB_STARTUP_CHECK": {"info_key": "usb.no_startup_check", "value_type": "bool"},
|
|
|
|
"SPLIT_KEYBOARD": {"info_key": "split.enabled", "value_type": "bool"},
|
2022-03-04 19:25:24 +06:00
|
|
|
"SPLIT_TRANSPORT": {"info_key": "split.transport.protocol", "to_c": false},
|
2021-08-17 04:33:30 +06:00
|
|
|
"WAIT_FOR_USB": {"info_key": "usb.wait_for", "value_type": "bool"}
|
2021-02-01 02:46:00 +06:00
|
|
|
}
|