i want to add steering wheel compatibility to my game such as logitech g29 support to add another dimension of imersion to the game.
question:
does anyone know how to connect usb devices or use apps to detect wich buttons are pressed what rotation angle is selected, 3 pedal input and steering angle itself + if possible handbrake/shifter
btw i know about programs that turn the wheel into a controller but that is not what i really want you see it kind of defeats the purpose of even adding support cus then there is 0 force feedback
sorry for not including this in the main text
There is no built-in support for this, and I sold my steering wheel + pedals + shifter just a few days ago, so I won’t be able to test. If you want to see if there is any response in Roblox, then you’d have to use UserInputService to detect if the buttons / wheel etc gives any output, but my guess is that most, if not all inputs, will be printed as ‘Unknown’.
Even if the wheel was to output a Roblox-detectable signal when turned, it would be a digital signal and not analogue (meaning that the wheel would either be on or off, not partially on/turned).
Having the turning as a digital signal would make it so that you are either turning or not turning, not partially turning, which results in very quick turns, as with a keyboard.
Ultimately it would result in a horrible playing experience. I still encourage you to use UIS to see if you receive any input.
its a degree value
not a 0-1 but i can turn 900 into 0-1
i use x360ce and it works but i still cant use the force feedback
Ah, I see, could the HapticEffect be what you are looking for? I knew that HapticService existed for controller vibrations, after searching for it on the docs however, it has been deprecated for the HapticEffect, which apparently supports a plethora of additional features.
I have a steering wheel that supports feedback aswell, and with your same set up of x360ce, it doesn’t work. But trust me, the compatibility you already got is pretty much all you’re ever gonna get.
1 Like
is it possible i let ai make some kind of program (dont worry i know how to trick the ai into working good) that interacts with the wheel and use something like httpservice to send and receive data about the steering wheel. are there any alternatives to using httpservice cus i heard its not fast enough i think it was somehwere between 100-500 ms thats just too long
thank oyu for the help btw i found out games like driving empire have some force feedback becouse the steering wheel force feedback controller is the same address as the xbox controller one but it only goes 1 direction is there a way to invert the orientation becouse then it would actually be possible