diff options
author | Ryan <[email protected]> | 2024-05-24 04:21:39 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-23 19:21:39 +0100 |
commit | e659c3dae9c50293a1483190db07601a83b73fef (patch) | |
tree | 117b3667f3861f9698f6220edb4fb08fd7eb53da /keyboards/ep | |
parent | 2e0498080f79c0d79bfa4ae91405d6cf0c3d959b (diff) | |
download | qmk_firmware-e659c3dae9c50293a1483190db07601a83b73fef.tar.gz qmk_firmware-e659c3dae9c50293a1483190db07601a83b73fef.zip |
Remove some useless code from keymaps (#23787)
Diffstat (limited to 'keyboards/ep')
-rw-r--r-- | keyboards/ep/96/keymaps/default/keymap.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/keyboards/ep/96/keymaps/default/keymap.c b/keyboards/ep/96/keymaps/default/keymap.c index c5d35ac70f..22e72e380e 100644 --- a/keyboards/ep/96/keymaps/default/keymap.c +++ b/keyboards/ep/96/keymaps/default/keymap.c @@ -15,12 +15,6 @@ */ #include QMK_KEYBOARD_H -// Defines the keycodes used by our macros in process_record_user -enum custom_keycodes { - QMKBEST = SAFE_RANGE, - QMKURL -}; - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( /* Base */ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, @@ -31,25 +25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT ), }; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMKBEST: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING("QMK is the best thing ever!"); - } else { - // when keycode QMKBEST is released - } - break; - case QMKURL: - if (record->event.pressed) { - // when keycode QMKURL is pressed - SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER)); - } else { - // when keycode QMKURL is released - } - break; - } - return true; -} |