From 6ce2d796757b7d98d183d9c097dec6257af1cd06 Mon Sep 17 00:00:00 2001 From: Erik Trinkle Date: Wed, 29 May 2024 11:25:16 -0400 Subject: [PATCH] adjust default encoder map --- .../imprint_number_row/keymaps/vial/keymap.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/keyboards/cyboard/imprint/imprint_number_row/keymaps/vial/keymap.c b/keyboards/cyboard/imprint/imprint_number_row/keymaps/vial/keymap.c index 1c530a57f35..f82b4cd4e05 100644 --- a/keyboards/cyboard/imprint/imprint_number_row/keymaps/vial/keymap.c +++ b/keyboards/cyboard/imprint/imprint_number_row/keymaps/vial/keymap.c @@ -97,3 +97,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______ ) }; + +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_LEFT, KC_RIGHT), ENCODER_CCW_CW(KC_LEFT, KC_RIGHT) }, + [1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [4] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [5] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [6] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [7] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [8] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [9] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, +};