mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 05:02:07 +00:00
Flip the direction of encoders correctly in config.h
This commit is contained in:
parent
0eaace20c1
commit
65c2f158d8
@ -43,3 +43,4 @@ The pixel graphics used here are from a combination of sources;
|
|||||||
#define I2C1_TIMINGR_SCLL 0x09U
|
#define I2C1_TIMINGR_SCLL 0x09U
|
||||||
|
|
||||||
#define OLED_TIMEOUT 300000
|
#define OLED_TIMEOUT 300000
|
||||||
|
#define ENCODER_DIRECTION_FLIP
|
||||||
|
@ -86,7 +86,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_BASE] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
|
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_CODE] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
|
[_CODE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user