x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Handling gamepad joystick inputs inside UMG

Hey,

I'm having a problem with navigation inside UMG. At some point during engine version upgrades my method has stopped working and I don't seem to be able to fix what has been changed,

To get menu navigation feeling smooth in my game I was overwriting the built in navigation and implemented my own. I did this by overriding the On Preview Key Down function and handling the inputs manually. That looked like this;

alt text

And then off to the right I could add whatever logic i needed for navigating that specific UMG which would usually be something like this;

alt text

This worked perfectly for a long time. Only inputs I explicitly handled worked with the exception of the select buttons which I allowed to continue on unhandled. I usually test my game with a mouse and keyboard whilst developing so I didn't notice this until a recent playtest session we had with a gamepad but handling preview key down no longer captures the input from the gamepad joystick so on a gamepad you can press the joystick to navigate using the normal UMG navigation rules.

I'd like to disable this navigation fully or at least find out how to stop the joystick inputs from being passed along again.

Thanks for reading and let me know if you need more information!

Product Version: UE 4.18
Tags:
more ▼

asked Mar 14 '18 at 08:14 PM in Blueprint Scripting

avatar image

mrcrocker
126 8 20 25

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question