Im making a Software for Controlling the x axis output of vjoy with a keyboard. since this will give a steering input into a game, i obviosuly want to add a lot of customization to make it enjoyable. I got stuck when trying to add Action keys that can limit the Steering when pressing a specific button to a specific % Value.
Im guessing that im not missing much since im not getting many errors and had some semi working versions before which had other bugs tho.
After im done with the action keys feature i also want to add fullsteer binds so you can Fullsteer instantly.
Current already Working Features: Linearity, Sensitivity, Sensitivity on Release and Countersteer Multiplier.
For the Action Keys I also want to add a Snap to action Key sensitivity multiplier that will apply when holding an action Key.
The reason im making this Sotware is because in the game im playing, there is a heavy bias towards wheel input and it can already easily be abused for controller, but there are people that cannot afford a controller or just dont have one, so i want to make this software to make it fair play for everyone.
(I have absolutely no coding knowledge and everything I got working already was done using Chatgpt aka Code Pilot)
Current Issue: Get an Error Code when trying to bind an action key that "set" is not defined, even tho it is defined before and also works on binding the normal steer buttons
Here is my Code: https://paste.pythondiscord.com/VQAA