-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Mouse function does not work correctly with JoystickWin.
Many mouse functions are reported to HID although just one function(e.g. Mouse.move(-10,0,0); ) is commanded.
#include <Mouse.h>
#include "JoystickWin.h"
void setup() {
Serial.begin(115200);
while (!Serial && (millis() < 3000)) delay(10);
pinMode(4,INPUT_PULLUP);
Mouse.begin();
JoystickWin.begin();
}
void loop() {
if(digitalRead(4)==LOW){
Mouse.move(-10,0,0);
}
delay(5);
}
Metadata
Metadata
Assignees
Labels
No labels