Flip the direction of encoders correctly in config.h

This commit is contained in:
Blake Drayson 2024-08-31 14:40:23 +01:00
parent 0eaace20c1
commit 65c2f158d8
2 changed files with 3 additions and 2 deletions

View File

@ -43,3 +43,4 @@ The pixel graphics used here are from a combination of sources;
#define I2C1_TIMINGR_SCLL 0x09U
#define OLED_TIMEOUT 300000
#define ENCODER_DIRECTION_FLIP

View File

@ -86,7 +86,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
[_CODE] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_CODE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
};
#endif