Need mouse or joystick sending percentage coordinates
Posted: Tue Nov 24, 2015 4:21 pm
Hi,
In my project, I need to know the screen resolution before sending the coordinates. I have 2 solutions : either I get the screen resolution and send absolute coordinates, or I send directly percentage coordinates.
I cant find in the libraries if I am allow to do it with a mouse or joystick device.
Do you know wether it's possible ?
Thanks for your help !
In my project, I need to know the screen resolution before sending the coordinates. I have 2 solutions : either I get the screen resolution and send absolute coordinates, or I send directly percentage coordinates.
I cant find in the libraries if I am allow to do it with a mouse or joystick device.
Do you know wether it's possible ?
Thanks for your help !