There are two types of input mapping: Axis mappings and Action mappings. Axis mappings are inputs that you hold down for an extended period of time to get their effect (for example, holding the W key to move the player forward), while Action mappings are one-off inputs (such as pressing the A button on the gamepad or spacebar on the keyboard to make the player jump). In this recipe, we'll cover how to set up keyboard, mouse, and gamepad axis-mapped input controls to move an FPS character.
Axis Mappings – keyboard, mouse, and gamepad directional input for an FPS character
Getting ready
You must have a UE4 project, which has a main character player in it and a ground plane to walk on, ready for this recipe.
...