diff options
Diffstat (limited to 'layouts/community/ergodox/guni/keymap.c')
| -rw-r--r-- | layouts/community/ergodox/guni/keymap.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/layouts/community/ergodox/guni/keymap.c b/layouts/community/ergodox/guni/keymap.c index ff1dd72eb..0707bcf77 100644 --- a/layouts/community/ergodox/guni/keymap.c +++ b/layouts/community/ergodox/guni/keymap.c | |||
| @@ -127,28 +127,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), | 127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), |
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | |||
| 131 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 132 | { | ||
| 133 | // MACRODOWN only works in this function | ||
| 134 | switch(id) { | ||
| 135 | case 0: | ||
| 136 | if (record->event.pressed) { | ||
| 137 | register_code(KC_RSFT); | ||
| 138 | } else { | ||
| 139 | unregister_code(KC_RSFT); | ||
| 140 | } | ||
| 141 | break; | ||
| 142 | } | ||
| 143 | return MACRO_NONE; | ||
| 144 | }; | ||
| 145 | |||
| 146 | // Runs just one time when the keyboard initializes. | ||
| 147 | void matrix_init_user(void) { | ||
| 148 | |||
| 149 | }; | ||
| 150 | |||
| 151 | |||
| 152 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) | 130 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) |
| 153 | { | 131 | { |
| 154 | 132 | ||
