sveningsonrobin / VRDrivingSimulator

Bachelor project on Chalmers University of Technology
4 stars 3 forks source link

Thrustmaster Racing Wheel #3

Open Epiczzor opened 5 years ago

Epiczzor commented 5 years ago

Hey, I couldn't get your project to open but i was wondering how did you map the inputs for the gas and brake pedals. I tried mapping the exact same wheel to UE4 but im not getting an axis value for the gas and brake pedals its either 0 or 1, there is no in between, how ever for the wheel im getting proper range of axis.

Also my pedals respond to mappings of button 7 and 8 and not to any axis

AnthonyRG commented 5 years ago

Hello. I think that might be the problem. Buttons are binary and the axes are not. The output of 'Axes' from 'Break JoystickState' is an array of floats. Break is index 1 and gas is index 2. Hope this help.

Den fre 16 nov. 2018 kl 15:03 skrev Sahil Singh notifications@github.com:

Hey, I couldn't get your project to open but i was wondering how did you map the inputs for the gas and brake pedals. I tried mapping the exact same wheel to UE4 but im not getting an axis value for the gas and brake pedals its either 0 or 1, there is no in between, how ever for the wheel im getting proper range of axis.

Also my pedals respond to mappings of button 7 and 8 and not to any axis

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sveningsonrobin/VRDrivingSimulator/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AKrjtgtjgEuGknhOLU8b7IM3yanpMglEks5uvsWZgaJpZM4YmT5O .