0 votes
by
I'd like to steer a VPP vehicle using a Fanatec wheel base and get force feedback on it. All other inputs, I want to do with custom scripts writing to the data bus. Is there a easy way to only use the steering input and force feedback from the VPDeviceInput and mix it with custom inputs for throttle etc.? When I did a first test, the VPDeviceInput seemed to overwrite my custom inputs (they only had an effect when disabling VPDeviceInput).

Thanks in advance for any tips on how to approach this!

1 Answer

+1 vote
by
selected by
 
Best answer

Yes, write a custom add-on that executes after the VPDeviceInput component, so your add-on would overwrite the input values.

  • Override the GetUpdateOrder method to return a positive number. This will overwrite the input provided by VPDeviceInput, but will keep the force feedback active.
  • Override UpdateVehicle and populate the data bus with your input values. Don't modify the steering value.
by
This worked! Thanks a lot!
...