mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-19 14:12:01 +00:00
Update keyboards/themadnoodle/noodlepad/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
f68e2d1586
commit
5425ad30b0
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user