CodeArtemis / TriggerRally

Trigger Rally Online Edition - fast arcade rally racing
Other
322 stars 132 forks source link

Steering wheel not working #68

Open m93a opened 10 years ago

m93a commented 10 years ago

Hi! I've got Logitech steering wheel which is compatibile with HTML5 Gamepad API (tested here). Steering and thrust/break is represented by left analog stick. Could you possibly fix it? (It shouldn't be that hart - it treats the same as all the other browsers)

jareiko commented 10 years ago

What is the name of the steering wheel as reported by that testing tool?

m93a commented 10 years ago

It's "046d-c294-Logitech Logitech Formula Force RX"

jareiko commented 10 years ago

Ah okay, the problem is that the game currently looks for the substring "Racing Wheel" in the id to identify wheels. If it doesn't find that, it assumes it's a gamepad.

The steering should already work, just not accelerate/brake. Is that the case? And can you accelerate or brake using any of the buttons / levers?

m93a commented 10 years ago

Nope. It just acts as a dead piece of hardware. In both Chrome (or in my case Chromium) andn Firefox. However in my demo the wheel works perfectly. You can take a look at my implementation, most of the code is from HTML5Rocks. I hope this helps you getting closer to the bug.