From e659c3dae9c50293a1483190db07601a83b73fef Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 24 May 2024 04:21:39 +1000 Subject: Remove some useless code from keymaps (#23787) --- keyboards/sck/neiso/keymaps/default/keymap.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'keyboards/sck') diff --git a/keyboards/sck/neiso/keymaps/default/keymap.c b/keyboards/sck/neiso/keymaps/default/keymap.c index 05335947b5..c7d8e5f859 100644 --- a/keyboards/sck/neiso/keymaps/default/keymap.c +++ b/keyboards/sck/neiso/keymaps/default/keymap.c @@ -16,7 +16,9 @@ #include QMK_KEYBOARD_H // Defines the keycodes used by our macros in process_record_user -enum custom_keycodes { QMKBEST = SAFE_RANGE, QMKURL }; +enum custom_keycodes { + QMKBEST = SAFE_RANGE, +}; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT(/* Base */ @@ -41,14 +43,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { // 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; } -- cgit v1.2.3