In Blueprints, there are these nice nodes for key presses (and releases).
i wonder how to do that in c++.
Any tutorials I found so far are all about mapping stuff to action or axis mappings.
All I want to is execute some code in my player controller when the player presses the ‘X’ key for example.
How would I do that?