Browse Source

Update keyboards/kikoslab/formula1800/keymaps/via/keymap.c

Co-authored-by: Drashna Jaelre <drashna@live.com>
pull/16876/head
Brandon Claveria 2 years ago
committed by GitHub
parent
commit
3579fbf1df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions
  1. +0
    -16
      keyboards/kikoslab/formula1800/keymaps/via/keymap.c

+ 0
- 16
keyboards/kikoslab/formula1800/keymaps/via/keymap.c View File

@ -60,19 +60,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
};
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder */
if (clockwise) {
tap_code(KC_WH_D);
} else {
tap_code(KC_WH_U);
}
} else if (index == 1) { /* Second encoder */
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
}
return true;
}

Loading…
Cancel
Save