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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Access all key events?

Hi, I am currently working on implementing a system for rebinding action/axis mappings in my game. I am currently at the stage where I would like to detect a new key to assign to the action.

I have not found a way to do this yet, the closest thing I have found is

PlayerInput.h /** The current game view of each key */ TMap KeyStateMap;

From my understanding I could get the state of each key this frame from this array, But its private. So I guess making a get function in PlayerInput is not the intended way to do this? Any help would be super appreciated!

Product Version: UE 4.10
Tags:
more ▼

asked Mar 19 '16 at 12:43 AM in C++ Programming

avatar image

Narovana
26 2 2 6

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

1 answer: sort voted first

Yhep... After a good nights sleep, of course this was a lot simpler then I made it. You can bind an action to "any key" from within the editor. The event will output which key was pressed.

more ▼

answered Mar 19 '16 at 09:11 AM

avatar image

Narovana
26 2 2 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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