diff --git a/keyboards/keebfront/vanguard65/vanguard65.c b/keyboards/keebfront/vanguard65/vanguard65.c index 3ddaf40257d..0409b1b56a1 100644 --- a/keyboards/keebfront/vanguard65/vanguard65.c +++ b/keyboards/keebfront/vanguard65/vanguard65.c @@ -12,3 +12,17 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ #include "vanguard65.h" + +#if defined(ENCODER_ENABLE) && !defined(ENCODER_MAP_ENABLE) +bool encoder_update_kb(uint8_t index, bool clockwise) { + if (!encoder_update_user(index, clockwise)) { return false; } + if (index == 0) { + if (clockwise) { + tap_code_delay(KC_VOLU, 10); + } else { + tap_code_delay(KC_VOLD, 10); + } + } + return true; +} +#endif