wip: support for custom keycodes in json

This commit is contained in:
Zach White 2021-09-08 23:15:54 -07:00
parent ac4849df13
commit 0a33ce0659
5 changed files with 33 additions and 4 deletions

View file

@ -12,6 +12,12 @@
"minLength": 1,
"pattern": "^[0-9a-z_]*$"
},
"keycode": {
"type": "string",
"minLength": 1,
"maxLength": 250,
"pattern": "^[A-Z_][0-9A-Z_()]*$"
},
"hex_number_2d": {
"type": "string",
"pattern": "^0x[0-9A-F]{2}$"