Moving the Mouse to an Absolute Location, on an ATmega32U4 based Arduino

Hi all

The Mouse.move() method moves the mouse (X,Y) Pixels relative to the Mouse's current location.

I searched Google for a way to Locate the mouse on an Absolute Location on the screen, instead of Relative movement,
and found people mentioning editing the built-in library that comes with Arduino, in the Arduino folder.

Is there maybe a way to do it without editing Arduino's original files?

For example by adding a file (in my code) instead of touching the original ones..

Thank you

Write a class that inherits from the Mouse class, and adds the new feature?

Maybe this is the HID your looking for.

TheMemberFormerlyKnownAsAWOL:
Write a class that inherits from the Mouse class, and adds the new feature?

Thanks, will try it.

Riva:
Maybe this is the HID your looking for.

Wow, looks like a terrific project,
so much depth.

But in my case I would only like to improve the Mouse class with the Absolute Position feature..
So I will try to add the code without editing Arduino's original files, hopefully it'll work well.

Maybe instead emulate a digitizer output?

Indeed it's an option.

In terms of simplicity, which option of the 2 is simpler? (with the Mouse, or via emulating a Digitizer)