Thanks a lot for the feedback I'll definitely add the cursor lock in the update. Weird bug, no idea how the program caused it
VJoy is used to map controls on different devices. I used it to trick Rocket league into thinking I had 2 controllers plugged in, instead of one controller and a keyboard. That mapping caused the issue.