Forum rules - please read before posting.

Any way to detect whether a controller is plugged in?

My game can be played with either KB+M, or a controller. I'm trying to create tutorial messages that are specific to these control schemes.

So if the player is using keyboard+mouse to play the game, the message should say "Press Space to Skip", but if a controller is plugged in, then the message would say "Press Start to Skip"

I feel there's already a way to do this but I'm missing it. The only other way I can think of doing this would be through variables that would get set when selecting a control scheme through the main menu. But since you don't need to select a control scheme through the main menu (just plugging in a controller allows you to plug in and play immediately) the variables wouldn't come into effect.

Of course, a final workaround would be to just write "Press Space/ Start to Skip" and be done with it, but I figured I'd ask for opinions about this before resorting to that :)

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.