J2Kbr / GtunerIV

Gtuner IV - Titan Two's software bug report.
http://www.consoletuner.com
25 stars 4 forks source link

We need a API mouse_set(uint8 ident, int32 status) using fix32 version #400

Closed lVentus closed 3 years ago

lVentus commented 3 years ago

I’m now working on a script to allow using controller to play FPS games as virtual keyboard and mouse. Because the curve of each game is different, and there are different stick acceleration, so I decided to use Titan Two to directly simulate the mouse. However, I found a major issue on the function of mouse_set API.

The API set_mouse now is using int. It is like this: void mouse_set(uint8 ident, int32 status); Because of the accuracy of the int, it caused a great error when moving the stick in a small range and lost the smooth feeling. I hope there can be a API like: void mouse_set(uint8 ident, fix32 status); thank you.