mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 06:33:03 +00:00
More
This commit is contained in:
@@ -93,7 +93,7 @@ void set_layer_color(int layer) {
|
|||||||
|
|
||||||
bool rgb_matrix_indicators_user(void) {
|
bool rgb_matrix_indicators_user(void) {
|
||||||
if (keyboard_config.disable_layer_led) {
|
if (keyboard_config.disable_layer_led) {
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
switch (get_highest_layer(layer_state)) {
|
switch (get_highest_layer(layer_state)) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
@@ -64,8 +64,10 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
|
|||||||
rgb_matrix_reload_from_eeprom();
|
rgb_matrix_reload_from_eeprom();
|
||||||
rawhid_state.rgb_control = false;
|
rawhid_state.rgb_control = false;
|
||||||
} else {
|
} else {
|
||||||
|
# ifdef RGB_MATRIX_CUSTOM_KB
|
||||||
rgb_matrix_mode_noeeprom(RGB_MATRIX_CUSTOM_oryx_webhid_effect);
|
rgb_matrix_mode_noeeprom(RGB_MATRIX_CUSTOM_oryx_webhid_effect);
|
||||||
rawhid_state.rgb_control = true;
|
rawhid_state.rgb_control = true;
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
oryx_error(ORYX_ERR_RGB_MATRIX_NOT_ENABLED);
|
oryx_error(ORYX_ERR_RGB_MATRIX_NOT_ENABLED);
|
||||||
|
|||||||
Reference in New Issue
Block a user