Navigation
API > API/Runtime > API/Runtime/InputDevice > API/Runtime/InputDevice/IInputDevice
Description
Returns the thread affinity for this input device — which thread is permitted to call Tick() and SendControllerEvents(). Defaults to GameThreadOnly so existing devices require no changes. Override and return InputThreadSafe only if both methods are fully thread-safe (no game-thread-only APIs, no UObjects, no Slate calls).
| Name | GetThreadAffinity |
| Type | function |
| Header File | /Engine/Source/Runtime/InputDevice/Public/IInputDevice.h |
| Include Path | #include "IInputDevice.h" |
virtual EInputDeviceThreadAffinity GetThreadAffinity() const