forked from forks/qmk_firmware
Update keymap.c
removed encoder support
This commit is contained in:
parent
b089d6b393
commit
d812b4e5ba
|
|
@ -7,13 +7,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BTN1,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_LSFT, KC_BSPC, KC_SPC, KC_ENT, KC_APP, KC_DEL, KC_RCTL, KC_ESC)
|
||||
};
|
||||
|
||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) { /* First encoder */
|
||||
if (clockwise) {
|
||||
tap_code(KC_WH_D); /*mouse wheel down */
|
||||
} else {
|
||||
tap_code(KC_WH_U); /*mouse wheel up*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue