Adjusted Values so acceleration isnt accounted for anymore. (I recently turned it off everywhere)
This commit is contained in:
@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user