diff options
| author | Ryan <fauxpark@gmail.com> | 2021-01-11 20:25:45 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 01:25:45 -0800 |
| commit | 415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb (patch) | |
| tree | 71c028b6b7dc0ef56a6f25fdd4f4de6376ee1d69 /layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c | |
| parent | 5ee3cb385fd085bbe76e98e8c208ca2ac7ea4871 (diff) | |
| download | qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.tar.gz qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.zip | |
Remove unused `action_get_macro()` usages in user files (#11165)
Diffstat (limited to 'layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c')
| -rw-r--r-- | layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c index f93f03e92..85782dda7 100644 --- a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c +++ b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c | |||
| @@ -342,28 +342,6 @@ void unicode_action_function(uint16_t hi, uint16_t lo) { | |||
| 342 | } | 342 | } |
| 343 | } | 343 | } |
| 344 | 344 | ||
| 345 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 346 | if (!record->event.pressed) { | ||
| 347 | return MACRO_NONE; | ||
| 348 | } | ||
| 349 | // MACRODOWN only works in this function | ||
| 350 | switch(id) { | ||
| 351 | case UM: | ||
| 352 | unicode_mode = (unicode_mode + 1) % 2; | ||
| 353 | break; | ||
| 354 | |||
| 355 | |||
| 356 | default: | ||
| 357 | break; | ||
| 358 | } | ||
| 359 | return MACRO_NONE; | ||
| 360 | }; | ||
| 361 | |||
| 362 | // Runs just one time when the keyboard initializes. | ||
| 363 | void matrix_init_user(void) { | ||
| 364 | |||
| 365 | }; | ||
| 366 | |||
| 367 | // Runs constantly in the background, in a loop. | 345 | // Runs constantly in the background, in a loop. |
| 368 | void matrix_scan_user(void) { | 346 | void matrix_scan_user(void) { |
| 369 | uint8_t layer = biton32(layer_state); | 347 | uint8_t layer = biton32(layer_state); |
