Skip to main content

Module input

Module input 

Source

Functions§

bind_action_raw
Bind trigger_event (an ETriggerEvent value) of action on actor’s Enhanced Input component to actor’s UFUNCTION function (its UE name), which takes no parameters, or (FInputActionValue, f32 elapsed seconds, f32 triggered seconds, InputAction) or a leading part of it: the C++ EnhancedInputComponent->BindAction(Action, TriggerEvent, this, &AFoo::Function).
should_display_touch_interface
Whether the platform shows touch controls: the C++ SVirtualJoystick::ShouldDisplayTouchInterface(), true on mobile, with bAlwaysShowTouchInterface in the input settings, or when faked touch events (Use Mouse for Touch) are set to display them.