Calibrate a HID joystick

Gtuner IV general support. Operation, questions, updates, feature request.

Calibrate a HID joystick

Postby cdiben » Fri Jan 29, 2021 7:29 am

I have a HID joystick that does not show the full range in the device monitor. Is there a way to calibrate the joystick to get the maximum range. It should be going from -100 to 100 but I am only getting -54 to 66. Thanks.
User avatar
cdiben
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Jan 29, 2021 7:21 am

Re: Calibrate a HID joystick

Postby DeviateSquirrel » Fri Jan 29, 2021 2:28 pm

You could write a pretty simple script to change the output. This isn’t GPC2 (close though I think) but the logic is the same - https://stackoverflow.com/questions/929 ... ning-ratio

Basically -55 becomes -100 and 66 becomes 100 with the old range of -55 to 66 being remapped to -100 to 100. You won’t get to use the full range however.
User avatar
DeviateSquirrel
First Sergeant
First Sergeant
 
Posts: 46
Joined: Sun Jan 17, 2021 11:07 pm

Re: Calibrate a HID joystick

Postby cdiben » Fri Jan 29, 2021 6:33 pm

Thanks for the reply. What do you mean by "you won't get to use the full range"?
User avatar
cdiben
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Jan 29, 2021 7:21 am


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 98 guests