|
|
@ -35,14 +35,9 @@ void scan_matrix() {
|
|
|
|
handle_mouse_movement(x, y);
|
|
|
|
handle_mouse_movement(x, y);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Command mode
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setup() {
|
|
|
|
void setup() {
|
|
|
|
wdt_disable();
|
|
|
|
wdt_disable();
|
|
|
|
Serial.begin(115200);
|
|
|
|
Serial.begin(115200);
|
|
|
|
//usbMaxPower = 100;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Keyboard.begin();
|
|
|
|
Keyboard.begin();
|
|
|
|
Mouse.begin();
|
|
|
|
Mouse.begin();
|
|
|
|
implementation_setup_leds();
|
|
|
|
implementation_setup_leds();
|
|
|
|