Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldo Ziflaj committed Dec 24, 2021
1 parent 53547bc commit f809bbf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions keyboards/keycapsss/kimiko/keymaps/schmaldo/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
switch (get_highest_layer(layer_state)) {
// If the Default (QWERTY) layer is active
case _QWERTY:
case _S_QWERTY:
// Arrow Up/Down
if (clockwise) {
tap_code(KC_DOWN);
Expand All @@ -393,9 +393,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
case _ADJUST:
// RGB brightness up/down
if (clockwise) {
rgblight_decrease_val(); // tap_code(RGB_VAD);
/* rgblight_decrease_val(); // tap_code(RGB_VAD); */
} else {
rgblight_increase_val(); // tap_code(RGB_VAI);
/* rgblight_increase_val(); // tap_code(RGB_VAI); */
}
break;
}
Expand All @@ -404,7 +404,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
else if (index == 1) {
switch (get_highest_layer(layer_state)) {
// If the Default (QWERTY) layer is active
case _QWERTY:
case _S_QWERTY:
// Scroll by Word
if (clockwise) {
tap_code16(LCTL(KC_RGHT));
Expand All @@ -428,10 +428,10 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
// RGB hue up/down
if (clockwise) {
// tap_code(RGB_HUI);
rgblight_increase_hue();
/* rgblight_increase_hue(); */
} else {
// tap_code(RGB_HUD);
rgblight_decrease_hue();
/* rgblight_decrease_hue(); */
}
break;
}
Expand Down

0 comments on commit f809bbf

Please sign in to comment.