forked from mirror/qmk_firmware
Update keyboards/themadnoodle/noodlepad/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user