diff options
Diffstat (limited to 'keyboards/ristretto/ristretto.c')
-rw-r--r-- | keyboards/ristretto/ristretto.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/keyboards/ristretto/ristretto.c b/keyboards/ristretto/ristretto.c index b73e5043c3..1d4ed69d0f 100644 --- a/keyboards/ristretto/ristretto.c +++ b/keyboards/ristretto/ristretto.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "ristretto.h" +#include "quantum.h" enum layers { _BASE, @@ -23,18 +23,6 @@ enum layers { _ADJUST }; -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if(index == 0) { - if (clockwise) { - tap_code(KC_VOLD); - } else { - tap_code(KC_VOLU); - } - } - return true; -} - #ifdef OLED_ENABLE oled_rotation_t oled_init_kb(oled_rotation_t rotation) { return OLED_ROTATION_270; |