aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/coderkun_neo2/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/coderkun_neo2/keymap.c')
-rw-r--r--layouts/community/ergodox/coderkun_neo2/keymap.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/layouts/community/ergodox/coderkun_neo2/keymap.c b/layouts/community/ergodox/coderkun_neo2/keymap.c
index d1fcea9c9..a6fe61079 100644
--- a/layouts/community/ergodox/coderkun_neo2/keymap.c
+++ b/layouts/community/ergodox/coderkun_neo2/keymap.c
@@ -221,25 +221,6 @@ const uint16_t PROGMEM fn_actions[] = {
221 [PMN] = ACTION_FUNCTION(PMN), 221 [PMN] = ACTION_FUNCTION(PMN),
222}; 222};
223 223
224
225const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
226{
227 // MACRODOWN only works in this function
228 switch(id) {
229 case 0:
230 if (record->event.pressed) {
231 register_code(KC_RSFT);
232 }
233 else {
234 unregister_code(KC_RSFT);
235 }
236 break;
237 }
238
239 return MACRO_NONE;
240};
241
242
243// Runs just one time when the keyboard initializes. 224// Runs just one time when the keyboard initializes.
244void matrix_init_user(void) { 225void matrix_init_user(void) {
245 set_unicode_input_mode(UC_LNX); 226 set_unicode_input_mode(UC_LNX);