diff options
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); |
