qmk-firmware/keyboards/handwired
Zach White 08ce0142ba
Macros in JSON keymaps (#14374)
* macros in json keymaps

* add advanced macro support to json

* add a note about escaping macro strings

* add simple examples

* format json

* add support for language specific keymap extras

* switch to dictionaries instead of inline text for macros

* use SS_TAP on the innermost tap keycode

* add the new macro format to the schema

* document the macro limit

* add the json keyword for syntax highlighting

* fix format that vscode screwed up

* Update feature_macros.md

* add tests for macros

* change ding to beep

* add json support for SENDSTRING_BELL

* update doc based on feedback from sigprof

* document host_layout

* remove unused var

* improve carriage return handling

* support tab characters as well

* Update docs/feature_macros.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

* escape backslash characters

* format

* flake8

* Update quantum/quantum_keycodes.h

Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-22 11:11:35 -08:00
..
2x5keypad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
3dp660 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
6key Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
6macro Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
42 Merge remote-tracking branch 'upstream/master' into develop 2021-09-29 23:23:10 -07:00
108key_trackpoint Align PS/2 GPIO defines (#14745) 2021-10-20 20:07:40 +01:00
412_64 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
aek64 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
aim65 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
amigopunk Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
angel Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
aplx2 Remove redundant UNICODE_ENABLE = no in keyboard-level rules.mk (#14633) 2021-09-30 08:14:21 +10:00
aranck Remove redundant UNICODE_ENABLE = no in keyboard-level rules.mk (#14633) 2021-09-30 08:14:21 +10:00
arrow_pad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
atreus50 Merge remote-tracking branch 'origin/master' into develop 2021-10-29 23:30:51 +00:00
axon Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
battleship_gamepad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
bdn9_ble Merge remote-tracking branch 'upstream/master' into develop 2021-09-29 23:23:10 -07:00
bento Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
bigmac Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
bolek Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
boss566y/redragon_vara Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
brain Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
cans12er Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
chiron Remove redundant UNICODE_ENABLE = no in keyboard-level rules.mk (#14633) 2021-09-30 08:14:21 +10:00
ck4x4 Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
cmd60 Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
co60 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
colorlice Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
concertina Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
consolekeyboard Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
curiosity Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
d48 [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
dactyl Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
dactyl_left Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
dactyl_manuform Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
dactyl_promicro Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
dactyl_rah Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
daishi Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
datahand Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
dc/mc/001 [Keyboard] Added DC MC 001 (#14661) 2021-10-04 18:35:48 -07:00
ddg_56 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
eagleii Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
elrgo_s Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
ergocheap Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
evk Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
fc200rt_qmk Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
fivethirteen Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
floorboard Remove unused IS_COMMAND() instances and Magic Key definitions (#14610) 2021-09-26 02:57:20 -07:00
frankie_macropad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
frenchdev Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
freoduo Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
fruity60 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
gamenum Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
hacked_motospeed Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
heisenberg Remove redundant UNICODE_ENABLE = no in keyboard-level rules.mk (#14633) 2021-09-30 08:14:21 +10:00
hexon38 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
hnah40 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
hnah40rgb Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
hnah108 Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
ibm122m Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
ibm_wheelwriter Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
jn68m Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
jopr Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
jot50 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
jotanck Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
jotpad16 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
jtallbean Remove unused IS_COMMAND() instances and Magic Key definitions (#14610) 2021-09-26 02:57:20 -07:00
juliet Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
k8split Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
k_numpad17 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
kbod Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
ks63 Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
lagrange Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
leftynumpad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
lovelive9 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
magicforce61 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
magicforce68 Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
marauder Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
mechboards_micropad Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
minorca Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
ms_sculpt_mobile Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
myskeeb Merge remote-tracking branch 'origin/master' into develop 2021-11-17 01:36:51 +00:00
nicekey Merge remote-tracking branch 'origin/master' into develop 2021-10-11 13:42:09 +00:00
not_so_minidox Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
novem Remove audio pin references in rules.mk (#14532) 2021-09-21 20:04:03 +10:00
numpad20 Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
obuwunkunubi/spaget Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
oem_ansi_fullsize Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
oem_iso_fullsize Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
onekey [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
ortho5x13 Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
ortho5x14 Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
owlet60 [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
p65rgb Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
pilcrow Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
pill60 [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
postageboard Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
prime_exl Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
prime_exl_plus Remove redundant UNICODE_ENABLE = no in keyboard-level rules.mk (#14633) 2021-09-30 08:14:21 +10:00
prkl30 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
promethium Align PS/2 GPIO defines (#14745) 2021-10-20 20:07:40 +01:00
pterodactyl Improve Adafruit BLE configuration defines (#14749) 2021-10-08 16:15:20 +01:00
pteron Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
pteron38 Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
pteron44 Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
pytest Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
qc60 Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
reddot Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
retro_refit Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
riblee_f401 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
riblee_f411 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
rs60 Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
selene Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
sick68 Remove unused IS_COMMAND() instances and Magic Key definitions (#14610) 2021-09-26 02:57:20 -07:00
sick_pad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
slash Merge remote-tracking branch 'upstream/master' into develop 2021-09-29 23:23:10 -07:00
sono1 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
space_oddity Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
split65 Merge remote-tracking branch 'origin/master' into develop 2021-11-19 17:54:22 +00:00
split89 Merge remote-tracking branch 'origin/master' into develop 2021-11-19 09:48:23 -08:00
splittest Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
steamvan Remove firmware size impact notes from <keyboard>/rules.mk (#14652) 2021-09-30 15:48:36 +01:00
sticc14 Remove unused IS_COMMAND() instances and Magic Key definitions (#14610) 2021-09-26 02:57:20 -07:00
stream_cheap [Keyboard] Stream cheap via fixes/updates (#14325) 2021-11-10 08:27:55 -08:00
swiftrax Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
symmetric70_proto Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
symmetry60 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
t111 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
tennie Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
terminus_mini Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
trackpoint Align PS/2 GPIO defines (#14745) 2021-10-20 20:07:40 +01:00
tractyl_manuform Merge remote-tracking branch 'origin/master' into develop 2021-11-17 20:46:24 +00:00
traveller Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
tritium_numpad Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
twadlee/tp69 Remove unused IS_COMMAND() instances and Magic Key definitions (#14610) 2021-09-26 02:57:20 -07:00
unicomp_mini_m Merge remote-tracking branch 'upstream/master' into develop 2021-09-26 03:16:04 -07:00
unk Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
videowriter Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
wabi Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
woodpad Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
wulkan Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
xealous Merge remote-tracking branch 'origin/master' into develop 2021-09-30 14:49:11 +00:00
xealousbrown Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
z150 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
zergo Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00