mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-07-12 22:33:06 -04:00
Change aidansmithdotdev/fine40 to use Encoder Map (#19912)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
parent
2c6cf1b5be
commit
d88c4bb2a0
2 changed files with 11 additions and 1 deletions
|
@ -41,3 +41,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
_______ , _______ , _______ , _______ , _______ , _______ , _______ , KC_MS_L , KC_MS_D , KC_MS_U , KC_MS_R , _______
|
||||
),
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
||||
[_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_TAB] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
};
|
||||
#endif
|
|
@ -1 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue