vJoy input with KMG range

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

vJoy input with KMG range

Postby DeviateSquirrel » Fri Feb 05, 2021 4:16 am

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?
User avatar
DeviateSquirrel
First Sergeant
First Sergeant
 
Posts: 46
Joined: Sun Jan 17, 2021 11:07 pm

Re: vJoy input with KMG range

Postby J2Kbr » Mon Feb 08, 2021 10:51 am

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.

Image
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: vJoy input with KMG range

Postby DeviateSquirrel » Mon Feb 08, 2021 3:57 pm

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).
User avatar
DeviateSquirrel
First Sergeant
First Sergeant
 
Posts: 46
Joined: Sun Jan 17, 2021 11:07 pm


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 113 guests