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/mechkeys | |
parent | 2e0498080f79c0d79bfa4ae91405d6cf0c3d959b (diff) | |
download | qmk_firmware-e659c3dae9c50293a1483190db07601a83b73fef.tar.gz qmk_firmware-e659c3dae9c50293a1483190db07601a83b73fef.zip |
Remove some useless code from keymaps (#23787)
Diffstat (limited to 'keyboards/mechkeys')
-rw-r--r-- | keyboards/mechkeys/mk60/keymaps/default/keymap.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/keyboards/mechkeys/mk60/keymaps/default/keymap.c b/keyboards/mechkeys/mk60/keymaps/default/keymap.c index a917b7ce5c..d844051d70 100644 --- a/keyboards/mechkeys/mk60/keymaps/default/keymap.c +++ b/keyboards/mechkeys/mk60/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( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, @@ -38,25 +32,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; - -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; -} |