jonathanedgecombe / absmouse

Absolute positioning USB HID mouse library for Arduino devices with USB capabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

absmouse

Absolute positioning USB HID mouse library for Arduino devices with USB capabilities.

Example use

#include <AbsMouse.h>

void setup() {
  AbsMouse.init(1920, 1080);
}

void loop() {
  // do some stuff
  AbsMouse.move(500, 200);
  AbsMouse.press(MOUSE_LEFT);
  AbsMouse.release(MOUSE_LEFT);
  // do some other stuff
}

About

Absolute positioning USB HID mouse library for Arduino devices with USB capabilities.

License:ISC License


Languages

Language:C++ 100.0%