[Keymap] Add andrebrait layout for GMMK Pro (#13932)

This commit is contained in:
Andre Brait 2021-08-12 15:55:19 +02:00 committed by GitHub
parent 7fe375aef5
commit 33f64903b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 342 additions and 3 deletions

View file

@ -79,6 +79,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
// clang-format on
#ifdef ENCODER_ENABLE
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLU);
@ -87,3 +88,4 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
return true;
}
#endif // ENCODER_ENABLE