GLOW_MIN,
GLOW_FULL
};
+
uint8_t glow_mode = GLOW_MIN;
extern keymap_config_t keymap_config;
rgbsps_set(LED_TRACKPOINT2, 0, 0, 15);
rgbsps_set(LED_TRACKPOINT3, 15, 0, 0);
- // // hardcode indicator for now
- rgbsps_set(LED_IND_BLUETOOTH, 0, 0, 15);
- rgbsps_set(LED_IND_USB, 15, 15, 15);
- rgbsps_set(LED_IND_BATTERY, 0, 15, 0);
-
led_layer_normal();
}
}
}
+void battery_poll(float percentage) {
+ rgbsps_sethsv(LED_IND_BATTERY, percentage*120/100, 255, 15);
+ rgbsps_send();
+}
+
void ps2_mouse_init_user() {
uint8_t rcv;