Hello, thank for all those script,it help a lot
i have a problem with Iracing using vJoy and freepie. When calibrate, the game understand the input of the key and not the virtual axis.
I quote the devs: "I think the reason you can't get your code to work is because vjoy is not hiding the 'f' key from us when you push it during calibration. So we are recieving the 'f' key, followed by an axis move message from vjoy. The problem is that we favor key presses over joystick moves, and so we are picking up on the 'f' key and not the axis. Of course it is also possible that the script is just not working correctly.
You can probably work around this by adding in yet another key press, or a calibration mode to your script, where a single press of 'f' causes the throttle axis to slowly go from 0 to 100% and back to 0 4-5 times in a row (say over 5 seconds). That will give our code time to pick up on the moving axis during calibration so we can forget about the 'f' key being sent to us. If you can make it past the calibration step then we can handle the rest just fine.
"
Anyone could help me writing such a code for calibrate or to hide the key input with a function? any help would be appreciate much, thanks