Macro keycode name refactoring (#18958)
This commit is contained in:
parent
fe00c80211
commit
4d33f356a6
10 changed files with 243 additions and 116 deletions
|
@ -266,7 +266,7 @@ def generate_c(keymap_json):
|
|||
|
||||
new_macro = "".join(macro)
|
||||
new_macro = new_macro.replace('""', '')
|
||||
macro_txt.append(f' case MACRO_{i}:')
|
||||
macro_txt.append(f' case QK_MACRO_{i}:')
|
||||
macro_txt.append(f' SEND_STRING({new_macro});')
|
||||
macro_txt.append(' return false;')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue