Navigation
API > API/Plugins > API/Plugins/CommonInput
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- ULocalPlayerSubsystem
- UCommonInputSubsystem
References
| Module | CommonInput |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonInput/Public/CommonInputSubsystem.h |
| Include | #include "CommonInputSubsystem.h" |
Syntax
UCLASS&40;DisplayName&61;"CommonInput"&41;
class UCommonInputSubsystem : public ULocalPlayerSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FCommonInputPreprocessor > | CommonInputPreprocessor | ||
| FInputMethodChangedEvent | OnInputMethodChangedNative |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOrRemoveInputTypeLock
(
FName InReason, |
||
| void | |||
| UCommonInputSubsystem * | Get
(
const ULocalPlayer* LocalPlayer |
||
| TObjectPtr< UCommonInputActionDomainTable > | |||
| const FName | |||
| ECommonInputType | The current input type based on the last input received on the device. | ||
| ECommonInputType | The default input type for the current platform. | ||
| bool | GetInputTypeFilter
(
ECommonInputType InputType |
||
| bool | Getter | ||
| FGamepadChangeDetectedEvent & | |||
| FPlatformInputSupportOverrideDelegate & | Gets the delegate that allows external systems to override which input methods are supported on this current platform. | ||
| bool | IsInputMethodActive
(
ECommonInputType InputMethod |
||
| bool | IsMobileGamepadKey
(
const FKey& InKey |
Returns true if the specified key can be present on both a mobile device and mobile gamepads | |
| bool | |||
| ECommonInputType | LockInput
(
ECommonInputType InputToLock |
||
| TSharedPtr< FCommonInputPreprocessor > | |||
| bool | Returns true if the current platform supports a hardware cursor | ||
| void | SetActionDomainTable
(
TObjectPtr< UCommonInputActionDomainTable > Table |
||
| void | SetCurrentInputType
(
ECommonInputType NewInputType |
||
| void | SetCursorPosition
(
FVector2D NewPosition, |
||
| void | SetGamepadInputType
(
const FName InGamepadInputType |
||
| void | SetInputTypeFilter
(
ECommonInputType InputType, |
||
| void | SetIsGamepadSimulatedClick
(
bool bNewIsGamepadSimulatedClick |
Setter | |
| bool | Should display indicators for the current input device on screen. | ||
| void | UpdateCursorPosition
(
TSharedRef< FSlateUser > SlateUser, |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FInputMethodChangedEvent |
Constants
| Name | Description |
|---|---|
| OnPlatformInputSupportOverride | The delegate that allows external systems to override which input methods are supported on this current platform. |