Update keyboards/themadnoodle/noodlepad/keymaps/default/keymap.c

Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Jesse Leventhal 2020-04-29 10:46:50 -04:00 committed by GitHub
parent f68e2d1586
commit 5425ad30b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void encoder_update_user(uint8_t index, bool clockwise) {
switch (biton32(layer_state)) {
switch (get_highest_layer(layer_state)) {
case 1:
if (clockwise) {
rgblight_increase_hue();
@ -80,4 +80,4 @@ void encoder_update_user(uint8_t index, bool clockwise) {
break;
}
}
}