![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AppleControllerInterface.h>
Inheritance diagram for FAppleControllerInterface:Classes | |
| struct | FUserController |
Static Public Member Functions | |
| static TSharedRef< FAppleControllerInterface > | Create (const TSharedRef< FGenericApplicationMessageHandler > &InMessageHandler) |
| static TSharedPtr< FAppleControllerInterface > | Get () |
Protected Member Functions | |
| FAppleControllerInterface (const TSharedRef< FGenericApplicationMessageHandler > &InMessageHandler) | |
| void | SignalEvent (EAppleControllerEventType InEventType, GCController *InController) |
Static Protected Attributes | |
| static FString | HardwareDeviceIdentifier_DefaultGamepad |
Interface class for Apple Controllers
|
inlinevirtual |
|
protected |
|
static |
|
static |
| const ControllerType FAppleControllerInterface::GetControllerType | ( | uint32 | ControllerIndex | ) |
| FName FAppleControllerInterface::GetControllerTypeName | ( | const ControllerType | InControllerType | ) |
| GCControllerButtonInput * FAppleControllerInterface::GetGCControllerButton | ( | const FGamepadKeyNames::Type & | ButtonKey, |
| uint32 | ControllerIndex | ||
| ) |
| void FAppleControllerInterface::HandleAnalogGamepad | ( | const FGamepadKeyNames::Type & | UEAxis, |
| uint32 | ControllerIndex | ||
| ) |
| void FAppleControllerInterface::HandleButtonGamepad | ( | const FGamepadKeyNames::Type & | UEButton, |
| uint32 | ControllerIndex | ||
| ) |
| void FAppleControllerInterface::HandleInputInternal | ( | const FGamepadKeyNames::Type & | UEButton, |
| uint32 | ControllerIndex, | ||
| bool | bIsPressed, | ||
| bool | bWasPressed | ||
| ) |
| void FAppleControllerInterface::HandleVirtualButtonGamepad | ( | const FGamepadKeyNames::Type & | UEButtonNegative, |
| const FGamepadKeyNames::Type & | UEButtonPositive, | ||
| uint32 | ControllerIndex | ||
| ) |
| bool FAppleControllerInterface::IsGamepadAttached | ( | ) | const |
Implements IInputInterface.
| void FAppleControllerInterface::SendControllerEvents | ( | ) |
Poll for controller state and send events if needed
The FInputDeviceScope::HardwareDeviceIdentifier has to be one of values in UInputPlatformSettings::HardwareDevices.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Sets the strength/speed of all the channels for the given controller id. NOTE: Unsupported channels are silently ignored
| ControllerId | the id of the controller whose value is to be set |
| FForceFeedbackChannelValues | strength or speed of feedback for all channels |
Implements IInputInterface.
Reimplemented in FIOSInputInterface.
|
inlineoverridevirtual |
Implements IInputInterface.
| void FAppleControllerInterface::SetMessageHandler | ( | const TSharedRef< FGenericApplicationMessageHandler > & | InMessageHandler | ) |
|
protected |
Tick the interface (i.e check for new controllers)
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |