Closed 7oo1er closed 8 months ago
@DaneEvans Can you take a gander?
Change keymap.c
, return false.
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
} else if (index == 1) {
switch (get_highest_layer(layer_state)) {
case _COLEMAK:
case _QWERTY:
case _COLEMAKDH:
if (clockwise) {
tap_code(KC_PGDN);
} else {
tap_code(KC_PGUP);
}
break;
case _RAISE:
case _LOWER:
if (clockwise) {
tap_code(KC_DOWN);
} else {
tap_code(KC_UP);
}
break;
default:
if (clockwise) {
tap_code(KC_WH_D);
} else {
tap_code(KC_WH_U);
}
break;
}
}
return true;
}
To:
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
} else if (index == 1) {
switch (get_highest_layer(layer_state)) {
case _COLEMAK:
case _QWERTY:
case _COLEMAKDH:
if (clockwise) {
tap_code(KC_PGDN);
} else {
tap_code(KC_PGUP);
}
break;
case _RAISE:
case _LOWER:
if (clockwise) {
tap_code(KC_DOWN);
} else {
tap_code(KC_UP);
}
break;
default:
if (clockwise) {
tap_code(KC_WH_D);
} else {
tap_code(KC_WH_U);
}
break;
}
}
return false;
}
None of this is contained in this repo. Changes to these configs should be added / modified over on the QMK repo.
As such, it needs to be added there, brought up to date with current QMK, wait several months for them to do a review etc.
I haven't touched those configs in several years, so feel free to modify them in the correct location
Which Board? RGB
Which Board Revision? RGB = 2.1 Build with indicator light, backlight and per key. RP2040 as PM replacement
What Software are you using? _QMK, rgbdefault
What is the issue?
1. Wrong indicator brightness, wrong LED number:
Change
keymap.c
To
2. Some keys LEDs lighten like solid backlight, to remove it and fix indicator number:
Change
keymap.c
To
3. Fix total LED number. LED effects goes to keyboard center. To make it go same direction on both sides (left to right) and make backlight glow with near keys in same color:
Change
config.h
To
Change
config.h
To
What you expected: