Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Is it possible on Roblox to add controls for controllers Like Guitars for Guitar Hero?

Asked by
harstud 218 Moderation Voter
5 years ago

I was just wondering if you could add controls for a controller like a SDVX controller or a Guitar Hero controller? Sorry if this sounds confusing, I tried to make it simple. Thank you!

0
You can bind controller imputs to actions or just use the imput events? Im not sure what you are asking here? User#5423 17 — 5y
0
I was asking if it's possible to add controls for controllers. harstud 218 — 5y
0
There's Xbox controller support which you code into your game and you can map the guitar hero controller to the Xbox controls (the player would.have to use an external program) royaltoe 5144 — 5y
0
Oh okay, thank you! harstud 218 — 5y
0
come back here if you need any help setting up the controls for the xbox controller royaltoe 5144 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

You can use ContextActionService to map hotkeys/mobile controls/console controls into functions. This service is better than InputService since it has unbind and rebind capabilities, and it is much easier to use

Further reading: https://developer.roblox.com/en-us/api-reference/class/ContextActionService

0
Thanks! harstud 218 — 5y
Ad

Answer this question