games-on-whales / inputtino

A virtual input library: supports mouse, keyboard, joypad, trackpad and more
MIT License
23 stars 3 forks source link

fix: mouse range for non-standard resolutions #9

Closed cfalas closed 3 weeks ago

cfalas commented 3 weeks ago

When using a non-standard resolution (i.e. 19200 not divisible by width and/or 10800 not divisible by height), the mouse is not able to move to the bottom right corner, because integer division is performed.

ABeltramo commented 3 weeks ago

@cfalas thanks for contributing to inputtino!