How do I get Gamepad Input Actions in Blueprint

I’m trying to get actions for Gamepad input in Blueprint, but it doesn’t give me any actions when I’m trying to search for it. What am I suppose to do to get this?

How did you setup inputs in project settings?

Ok this looks fine, where are you trying to call the inputs?
Are you in a Pawn / Player controller?
You should be able to find them typing “recipe”

I’m trying to call them in main menu widget (WBP_MainMenu).

Did you call it from the mapping or is it a custom made?

No, It shouldn’t.
Widgets are among the few classes that don’t support input actions.

You should call them inside a PlayerController or Pawn, in other classes you have to call a function to enable inputs.

Here’s a tutorial if you need it.

What I’m trying is to use a gamepad to navigate through menu’s. But the game has been build for pc and uses mouse hover and click interactions. I’m trying to build a focus on the buttons with the controller.

2 Likes

Can you please show a screenshot? Because AFAIK it’s not possible:

It does! I didn’t know it but it’s nice to know!
In UE5 I am able to call the events from the UserWidget, thanks for the discovery!

It wasn’t possible in UE4, there are many other posts like this.

Sorry I’m using UE4-27. It’s not possible for me to upgrade to 5

Both the tutorial we sent you are for UE4, mine is written and there’s a video at the end of the page, SEGplayz’s is just video but they should both work