Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplicationMessageHandler.h |
Include | #include "GenericPlatform/GenericApplicationMessageHandler.h" |
Syntax
class FInputDeviceScope
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | HardwareDeviceHandle | A system-specific device id, this is not the same as controllerId and represents a physical device instead of logical user. |
![]() |
FString | HardwareDeviceIdentifier | Logical string identifying the hardware device. |
![]() |
IInputDevice * | InputDevice | The specific InputDevice that is currently being polled. |
![]() |
FName | InputDeviceName | Logical name of the input device interface. This is not translated but is platform-specific |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Cannot be copied/moved | ||
![]() |
FInputDeviceScope
(
const FInputDeviceScope& |
||
![]() |
|||
![]() |
FInputDeviceScope
(
IInputDevice* InInputDevice, |
Constructor, this should only be allocated directly on the stack |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FInputDeviceScope * | GetCurrent () |
Returns the currently active InputDeviceScope. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FInputDeviceScope & | operator=
(
const FInputDeviceScope& |
|
![]() |
FInputDeviceScope & | operator=
(
FInputDeviceScope&& |