mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Merge branch 'simplify_code' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
03003d270e
@ -93,7 +93,7 @@ def generate(function_name, callback_name, report_name, keymap, command_class, i
|
|||||||
report_cmd = cmd_for_report(report_name, keymap, type_map, payload_allowed)
|
report_cmd = cmd_for_report(report_name, keymap, type_map, payload_allowed)
|
||||||
if payload_allowed:
|
if payload_allowed:
|
||||||
payload_after_value = "case ';': state = PAYLOAD; break;"
|
payload_after_value = "case ';': state = PAYLOAD; break;"
|
||||||
payload = payload = ', PAYLOAD'
|
payload = ', PAYLOAD'
|
||||||
parr = 'static uint8_t payload[4096];'
|
parr = 'static uint8_t payload[4096];'
|
||||||
payload_case = f'''
|
payload_case = f'''
|
||||||
case PAYLOAD: {{
|
case PAYLOAD: {{
|
||||||
|
Loading…
Reference in New Issue
Block a user