1
0
Fork 0
forked from forks/qmk_firmware

Update keymap.c

removed encoder support
This commit is contained in:
pabile 2020-07-07 21:35:54 +08:00 committed by GitHub
parent b089d6b393
commit d812b4e5ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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*/
}
}
}