vJoy input with KMG range
3 posts
• Page 1 of 1
vJoy input with KMG range
I’m using opentrack to send values to the T2 through vJoy and the default value (when at rest) is somewhere around 49.8 (but actually has values out to 8-9 decimal places. Fully engaged it goes over 100 and it goes down towards 0.0 but I can’t tell what the minimum value is.
I need a way to remap the values from 0.0 to 200.0. What do I need to do?
I need a way to remap the values from 0.0 to 200.0. What do I need to do?
-
DeviateSquirrel - First Sergeant
- Posts: 46
- Joined: Sun Jan 17, 2021 11:07 pm
Re: vJoy input with KMG range
Honestly I don't have any experience with OpenTrack/vJoy.
My first suggestion is check on the virtual controller properties if the values are correct and ranging within the expected values.
My first suggestion is check on the virtual controller properties if the values are correct and ranging within the expected values.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: vJoy input with KMG range
Unfortunately I’ve yet to find controls like that with vJoy. Seems odd.
The best I could come up with was to find the max value and get as close as I could to a minimum value and then write a function to interpolate between them and an identified midpoint (lerp wasn’t returning 50 for the mid).
The best I could come up with was to find the max value and get as close as I could to a minimum value and then write a function to interpolate between them and an identified midpoint (lerp wasn’t returning 50 for the mid).
-
DeviateSquirrel - First Sergeant
- Posts: 46
- Joined: Sun Jan 17, 2021 11:07 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 113 guests