Calibrate a HID joystick
3 posts
• Page 1 of 1
Calibrate a HID joystick
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.
-
cdiben - Private First Class
- Posts: 2
- Joined: Fri Jan 29, 2021 7:21 am
Re: Calibrate a HID joystick
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.
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.
-
DeviateSquirrel - First Sergeant
- Posts: 46
- Joined: Sun Jan 17, 2021 11:07 pm
Re: Calibrate a HID joystick
Thanks for the reply. What do you mean by "you won't get to use the full range"?
-
cdiben - Private First Class
- Posts: 2
- Joined: Fri Jan 29, 2021 7:21 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 98 guests