Adjusted Values so acceleration isnt accounted for anymore. (I recently turned it off everywhere)

This commit is contained in:
2025-11-30 12:19:37 +01:00
parent e70cf1117b
commit 2cce18e4e2

View File

@ -58,14 +58,15 @@ void setup() {
void loop() {
int buttonState = digitalRead(buttonPin);
const int purepixels = 8182;
const int kiripurepixels = 27300;
const int desktopFullScreenWidth = 1920; // To move my mouse a whole screen width to the right on a 1080p screen
const int purepixels = 6230;
const int kiripurepixels = 12995;
const int input = purepixels;
if ((buttonState != previousButtonState) && (buttonState == LOW)) {
digitalWrite(LED_BUILTIN, LOW);
smoothMouseMove(input, 0, 1000, (input / 10));
smoothMouseMove(input, 0, 1500, (input / 10));
delay(500);
Serial.println("Button Pressed - Mouse should have sent event.");
}