You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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);
}
The text was updated successfully, but these errors were encountered: