Is there a way to detect inputs from a guitar hero controller?

I’m attempting to create an attempt at a port of guitar hero into Roblox, however I’m unable to figure out how to actually detect the inputs from the controller.

I’ve checked the developer hub and couldn’t find much about detecting external controllers other than Xbox controllers, so I’m unsure if there’s some workaround that works or if it’s impossible.

test it out via userinputservice
should look sumn like

local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(input)
    print("at least sumn happened")
    print(input.KeyCode)
	print(input.UserInputType)
end)

sumn like that and then u can see whats comin through if anything

I have tried that but it doesn’t print anything at all when I press any of the buttons, but it does print when I click, type, or move my mouse, which is why I’m stuck.

1 Like

is this for personal use

because you could try using some external software that will take the guitar hero keys as inputs and then give roblox friendly outputs to roblox if u get what im trying to say.

additionally if your game is a community (a small one at that because who has those controllers these days) maybe put it in game desc the software they need

some sort of signal converter or something i dont really know the technical name for it if even there is one

I do know there is a program (which I do in fact use) that converts any controller to keyboard or mouse inputs, however I wanted to know if there was a way to detect them without an external program.

If there’s no way without one, then I could just put a disclaimer or something like that inside the game or the description.

honestly i think thats ur best bet, i dont think its a feature to detect foreign inputs which is unfortunate but hey ho.

Emulator. The triggers on a Guitar Hero controller would need to be emulated onto supported input types (e.g. a keyboard or gamepad) so that when the buttons are pressed they pass that particular input (e.g. Red button fires the F keyboard key).

2 Likes

Key mapping, as has been suggested.

i was lying in bed to me and the term “device driver” drifted through my head are you sure it aint device driver software instead of emulator

He’s referring to a key mapper, it’s a type of software which translates keys between input devices.

Guitar Red Button Pressed > Key Mapper Receives Input > Key Mapper Translates Input > Mouse Button Press Emulated

1 Like

all im talking about is terminology not functionallity the functionallity was never disputed

Device driver software is software which is required for a device to be compatible with that devices’ medium, i.e; CPU, Xbox, PlayStation etc.

1 Like