Create Input Action #
Create the Input Actions required for your interactions (movement, camera, character Action like jump, fire, etc). Select the value type accordingly. Bool for button, Axis2D for joystick and touch region.
Create Input Action Mapping #
Add all created input actions to Input Mapping Context and assign gamepad or mouse/keyboard key. I recommend using gamepad key.
Touch Interface #
Create the virtual input required for your interactions (movement, camera, character Action like jump, fire, etc). Fill the accordingly input action.
Character Blueprint #
- Get Enhanced Input Local Player Subsystem and call Add Mapping Context to use the right Input Mapping Context.
- Get Enhanced Action Event and configure character movement, camera movement and character abilities like jump.
- Test!