Merge pull request #10 from armanatz/vial
Allow remapping of encoder button for GMMK Pro
This commit is contained in:
commit
125f8c7ea6
@ -63,12 +63,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
|
||||||
if (clockwise) {
|
|
||||||
tap_code(KC_VOLU);
|
|
||||||
} else {
|
|
||||||
tap_code(KC_VOLD);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -45,6 +45,10 @@
|
|||||||
{
|
{
|
||||||
"x": 0.5
|
"x": 0.5
|
||||||
},
|
},
|
||||||
|
"0,1",
|
||||||
|
{
|
||||||
|
"x": 0.25
|
||||||
|
},
|
||||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
"0,0\n\n\n\n\n\n\n\n\ne",
|
||||||
"0,1\n\n\n\n\n\n\n\n\ne"
|
"0,1\n\n\n\n\n\n\n\n\ne"
|
||||||
],
|
],
|
||||||
|
@ -17,4 +17,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|||||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||||
AUDIO_ENABLE = no # Audio output
|
AUDIO_ENABLE = no # Audio output
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes # Enable rotary encoder support
|
||||||
|
Loading…
Reference in New Issue
Block a user