evils 2 weeks ago
committed by GitHub
parent
commit
e3528aed76
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 0 deletions
  1. +5
    -0
      data/mappings/info_config.hjson
  2. +1
    -0
      data/mappings/info_rules.hjson
  3. +19
    -0
      data/schemas/keyboard.jsonschema

+ 5
- 0
data/mappings/info_config.hjson View File

@ -176,6 +176,7 @@
"SOFT_SERIAL_SPEED": {"info_key": "split.soft_serial_speed"},
"SPLIT_HAND_MATRIX_GRID": {"info_key": "split.handedness.matrix_grid", "value_type": "array", "to_c": false},
"SPLIT_HAND_PIN": {"info_key": "split.handedness.pin"},
"SPLIT_HAND_PIN_LOW_IS_LEFT": {"info_key": "split.handedness.low_is_left", "value_type": "flag"},
"SPLIT_USB_DETECT": {"info_key": "split.usb_detect.enabled", "value_type": "flag"},
"SPLIT_USB_TIMEOUT": {"info_key": "split.usb_detect.timeout", "value_type": "int"},
"SPLIT_USB_TIMEOUT_POLL": {"info_key": "split.usb_detect.polling_interval", "value_type": "int"},
@ -191,6 +192,10 @@
"SPLIT_OLED_ENABLE": {"info_key": "split.transport.sync.oled", "value_type": "flag"},
"SPLIT_ST7565_ENABLE": {"info_key": "split.transport.sync.st7565", "value_type": "flag"},
"SPLIT_WPM_ENABLE": {"info_key": "split.transport.sync.wpm", "value_type": "flag"},
"SERIAL_USART_FULL_DUPLEX": {"info_key": "serial.full_duplex", "value_type": "flag"},
"SERIAL_USART_TX_PIN": {"info_key": "serial.tx_pin"},
"SERIAL_USART_RX_PIN": {"info_key": "serial.rx_pin"},
"SERIAL_DEBUG": {"info_key": "serial.debug", "value_type": "flag"},
// Tapping
"HOLD_ON_OTHER_KEY_PRESS": {"info_key": "tapping.hold_on_other_key_press", "value_type": "flag"},


+ 1
- 0
data/mappings/info_rules.hjson View File

@ -46,6 +46,7 @@
"WAIT_FOR_USB": {"info_key": "usb.wait_for", "value_type": "bool"},
"WEAR_LEVELING_DRIVER": {"info_key": "eeprom.wear_leveling.driver"},
"WS2812_DRIVER": {"info_key": "ws2812.driver"},
"SERIAL_DRIVER": {"info_key": "serial.driver"},
// Items we want flagged in lint
"CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"},


+ 19
- 0
data/schemas/keyboard.jsonschema View File

@ -770,6 +770,7 @@
"additionalProperties": false,
"properties": {
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"low_is_left": {"type": "boolean"}
"matrix_grid": {
"$ref": "qmk.definitions.v1#/mcu_pin_array",
"minItems": 2,
@ -817,6 +818,10 @@
"type": "boolean",
"$comment": "Deprecated: use sync.modifiers instead"
}
"sync_layer_state": {
"type": "boolean",
"$comment": "Deprecated: use sync.layer_state instead"
}
}
},
"usb_detect": {
@ -928,5 +933,19 @@
"i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
}
}
"serial": {
"type": "object",
"additionalProperties": false,
"properties": {
"driver": {
"type": "string",
"enum": ["bitbang", "vendor", "usart"]
},
"full_duplex": {"type": "boolean"}
"tx_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"rx_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"debug": {"type": "boolean"}
}
},
}
}

Loading…
Cancel
Save