input - How to determine brakes on steering wheel controller vertical axis -


so in every game engine program, steering controller, gas positive values on y-axis , brakes negative values. basically, pressing gas sends y value of 0 1, , pressing brake sends 0 -1.

how can tell if brake pressed @ same time accelerator? value of .5 mean gas pedal part way down, or way down brake applied.

is there way determine if brake pressed?


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -