diff options
author | Nick Brassel <nick@tzarc.org> | 2023-12-18 13:53:02 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 13:53:02 +1100 |
commit | 9539f135d8161557f0ffdfecb6e8c8c8b09786a2 (patch) | |
tree | e1f5fd65dfebcefd59287029a88979c9e38bbb7d /keyboards/minimacro5/keymaps | |
parent | 27a710861ebd2a1e0a13a7e39f6a6c6568909bb4 (diff) |
Remove obvious user keymaps, `keyboards/[0-9]*` edition. (#22691)
Diffstat (limited to 'keyboards/minimacro5/keymaps')
-rw-r--r-- | keyboards/minimacro5/keymaps/media/keymap.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/keyboards/minimacro5/keymaps/media/keymap.c b/keyboards/minimacro5/keymaps/media/keymap.c deleted file mode 100644 index 9f21838876..0000000000 --- a/keyboards/minimacro5/keymaps/media/keymap.c +++ /dev/null @@ -1,44 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _MAIN 0 - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder*/ - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } else if (index == 1) { /* Second encoder*/ - if (clockwise) { - tap_code(KC_3); - } else { - tap_code(KC_4); - } - } else if (index == 2) { /* Third encoder*/ - if (clockwise) { - tap_code(KC_5); - } else { - tap_code(KC_6); - } - } else if (index == 3) { /* Fourth encoder*/ - if (clockwise) { - tap_code(KC_7); - } else { - tap_code(KC_8); - } - } else if (index == 4) { /* Fifth encoder*/ - if (clockwise) { - tap_code(KC_9); - } else { - tap_code(KC_0); - } - } - return true; -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //buttion closest to usb is first - [_MAIN] = LAYOUT_ortho_1x5( - KC_MUTE, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_STOP - ) -}; |