diff options
author | QMK Bot <hello@qmk.fm> | 2024-01-29 19:28:59 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2024-01-29 19:28:59 +0000 |
commit | 0a50599544e1f47e5728ebafa24b2edf5002929a (patch) | |
tree | b5045cf5da281f35f811022809e784614ce4bdc2 | |
parent | 5cd31fda9c1302044f4423d940be7c888d15ad1a (diff) | |
parent | 567f808ea5e9f239185b9561f42c269cc18baeb0 (diff) |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | docs/feature_encoders.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md index 891baeefa1..4eeb388e57 100644 --- a/docs/feature_encoders.md +++ b/docs/feature_encoders.md @@ -82,10 +82,10 @@ Your `keymap.c` will then need an encoder mapping defined (for four layers and t ```c #if defined(ENCODER_MAP_ENABLE) const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { - [_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, - [_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) }, - [_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) }, + [0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, + [2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) }, + [3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) }, }; #endif ``` |