Navigation
API > API/Runtime > API/Runtime/ApplicationCore
Context scope that indicates which IInputDevice is currently being handled. This can be used to determine hardware-specific information when handling input from FGenericApplicationMessageHandler subclasses. This is generally set during SendControllerEvents or Tick and is only valid on the game thread.
| Name | FInputDeviceScope |
| Type | class |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplicationMessageHandler.h |
| Include Path | #include "GenericPlatform/GenericApplicationMessageHandler.h" |
Syntax
class FInputDeviceScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Cannot be copied/moved | GenericPlatform/GenericApplicationMessageHandler.h | ||
FInputDeviceScope
(
const FInputDeviceScope& |
GenericPlatform/GenericApplicationMessageHandler.h | ||
| GenericPlatform/GenericApplicationMessageHandler.h | |||
FInputDeviceScope
(
IInputDevice* InInputDevice, |
Constructor, this should only be allocated directly on the stack | GenericPlatform/GenericApplicationMessageHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FInputDeviceScope() |
GenericPlatform/GenericApplicationMessageHandler.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HardwareDeviceHandle | int32 | A system-specific device id, this is not the same as controllerId and represents a physical device instead of logical user. | GenericPlatform/GenericApplicationMessageHandler.h | |
| HardwareDeviceIdentifier | FString | Logical string identifying the hardware device. | GenericPlatform/GenericApplicationMessageHandler.h | |
| InputDevice | IInputDevice * | The specific InputDevice that is currently being polled. | GenericPlatform/GenericApplicationMessageHandler.h | |
| InputDeviceName | FName | Logical name of the input device interface. This is not translated but is platform-specific | GenericPlatform/GenericApplicationMessageHandler.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FInputDeviceScope * GetCurrent () |
Returns the currently active InputDeviceScope. | GenericPlatform/GenericApplicationMessageHandler.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputDeviceScope & operator=
(
const FInputDeviceScope& |
GenericPlatform/GenericApplicationMessageHandler.h | ||
| GenericPlatform/GenericApplicationMessageHandler.h |