UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWindowsApplication Class Reference

#include <WindowsApplication.h>

+ Inheritance diagram for FWindowsApplication:

Classes

struct  RawMouseInputResult
 

Public Types

enum class  EForceMaxTouchpadSensitivityAsyncBehavior : uint8 { AllowAsynchronous , RequireBlocking }
 
enum class  EForceMaxTouchpadSensitivityRestorationValues : int32 {
  SystemCallFailed = -2 , RestorationNotNeeded = -1 , TOUCHPAD_SENSITIVITY_LEVEL_MOST_SENSITIVE = 0x00000000 , TOUCHPAD_SENSITIVITY_LEVEL_HIGH_SENSITIVITY = 0x00000001 ,
  TOUCHPAD_SENSITIVITY_LEVEL_MEDIUM_SENSITIVITY = 0x00000002 , TOUCHPAD_SENSITIVITY_LEVEL_LOW_SENSITIVITY = 0x00000003 , TOUCHPAD_SENSITIVITY_LEVEL_LEAST_SENSITIVE = 0x00000004
}
 
- Public Types inherited from GenericApplication
typedef FOnConsoleCommandAdded::FDelegate FOnConsoleCommandListener
 

Public Member Functions

void PostPumpMessages ()
 
void ProcessRawMouseInput (const RAWMOUSE &Mouse, RawMouseInputResult &OutResult)
 
void ProcessWorkerInputs ()
 
void CacheCursorInfo ()
 
virtual APPLICATIONCORE_API ~FWindowsApplication ()
 
APPLICATIONCORE_API void DeferDragDropOperation (const FDeferredWindowsDragDropOperation &DeferredDragDropOperation)
 
APPLICATIONCORE_API TSharedPtr< FTaskbarListGetTaskbarList ()
 
APPLICATIONCORE_API HRESULT OnOLEDragEnter (const HWND HWnd, const FDragDropOLEData &OLEData, ::DWORD KeyState, POINTL CursorPosition, ::DWORD *CursorEffect)
 
APPLICATIONCORE_API HRESULT OnOLEDragOver (const HWND HWnd, ::DWORD KeyState, POINTL CursorPosition, ::DWORD *CursorEffect)
 
APPLICATIONCORE_API HRESULT OnOLEDragOut (const HWND HWnd)
 
APPLICATIONCORE_API HRESULT OnOLEDrop (const HWND HWnd, const FDragDropOLEData &OLEData, ::DWORD KeyState, POINTL CursorPosition, ::DWORD *CursorEffect)
 
virtual APPLICATIONCORE_API void AddMessageHandler (IWindowsMessageHandler &InMessageHandler)
 
virtual APPLICATIONCORE_API void RemoveMessageHandler (IWindowsMessageHandler &InMessageHandler)
 
virtual APPLICATIONCORE_API void SetMessageHandler (const TSharedRef< class FGenericApplicationMessageHandler > &InMessageHandler) override
 
virtual APPLICATIONCORE_API void PollGameDeviceState (const float TimeDelta) override
 
virtual APPLICATIONCORE_API void PumpMessages (const float TimeDelta) override
 
virtual APPLICATIONCORE_API void ProcessDeferredEvents (const float TimeDelta) override
 
virtual APPLICATIONCORE_API TSharedRef< FGenericWindowMakeWindow () override
 
virtual APPLICATIONCORE_API void InitializeWindow (const TSharedRef< FGenericWindow > &Window, const TSharedRef< FGenericWindowDefinition > &InDefinition, const TSharedPtr< FGenericWindow > &InParent, const bool bShowImmediately) override
 
virtual APPLICATIONCORE_API void SetCapture (const TSharedPtr< FGenericWindow > &InWindow) override
 
virtual APPLICATIONCORE_API voidGetCapture (void) const override
 
virtual bool IsMinimized () const override
 
virtual APPLICATIONCORE_API void SetHighPrecisionMouseMode (const bool Enable, const TSharedPtr< FGenericWindow > &InWindow) override
 
void UpdateHighPrecisionMouseMode ()
 
virtual bool IsUsingHighPrecisionMouseMode () const override
 
virtual bool IsMouseAttached () const override
 
virtual APPLICATIONCORE_API bool IsGamepadAttached () const override
 
virtual APPLICATIONCORE_API FModifierKeysState GetModifierKeys () const override
 
virtual APPLICATIONCORE_API bool IsCursorDirectlyOverSlateWindow () const override
 
bool GetCursorPosition (POINT &OutSursorPos)
 
void ForceUpdateAsyncCursor ()
 
virtual APPLICATIONCORE_API FPlatformRect GetWorkArea (const FPlatformRect &CurrentWindow) const override
 
virtual APPLICATIONCORE_API void GetInitialDisplayMetrics (FDisplayMetrics &OutDisplayMetrics) const override
 
virtual APPLICATIONCORE_API EWindowTitleAlignment::Type GetWindowTitleAlignment () const override
 
virtual APPLICATIONCORE_API EWindowTransparency GetWindowTransparencySupport () const override
 
virtual APPLICATIONCORE_API void DestroyApplication () override
 
virtual IInputInterfaceGetInputInterface () override
 
virtual ITextInputMethodSystemGetTextInputMethodSystem () override
 
virtual APPLICATIONCORE_API void AddExternalInputDevice (TSharedPtr< class IInputDevice > InputDevice)
 
virtual APPLICATIONCORE_API void FinishedInputThisFrame () override
 
virtual APPLICATIONCORE_API void SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value) override
 
virtual APPLICATIONCORE_API void SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &Values) override
 
virtual APPLICATIONCORE_API void SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values) override
 
virtual void SetLightColor (int32 ControllerId, FColor Color) override
 
virtual void ResetLightColor (int32 ControllerId) override
 
virtual APPLICATIONCORE_API void SetDeviceProperty (int32 ControllerId, const FInputDeviceProperty *Property) override
 
APPLICATIONCORE_API bool SupportsForceMaxTouchpadSensitivity ()
 
APPLICATIONCORE_API void ApplyForceMaxTouchpadSensitivity ()
 
APPLICATIONCORE_API void RemoveForceMaxTouchpadSensitivity ()
 
APPLICATIONCORE_API EForceMaxTouchpadSensitivityRestorationValues GetForceMaxTouchpadSensitivityRestorationValue ()
 
- Public Member Functions inherited from GenericApplication
 DECLARE_MULTICAST_DELEGATE_OneParam (FOnConsoleCommandAdded, const FString &)
 
APPLICATIONCORE_API GenericApplication (const TSharedPtr< ICursor > &InCursor)
 
virtual APPLICATIONCORE_API ~GenericApplication ()
 
TSharedRef< FGenericApplicationMessageHandlerGetMessageHandler ()
 
virtual void Tick (const float TimeDelta)
 
virtual TSharedPtr< FGenericWindowGetWindowUnderCursor ()
 
virtual bool IsUsingTrackpad () const
 
virtual void RegisterConsoleCommandListener (const FOnConsoleCommandListener &InListener)
 
virtual void AddPendingConsoleCommand (const FString &InCommand)
 
virtual bool TryCalculatePopupWindowPosition (const FPlatformRect &InAnchor, const FVector2D &InSize, const FVector2D &ProposedPlacement, const EPopUpOrientation::Type Orientation, FVector2D *const CalculatedPopUpPosition) const
 
 DECLARE_EVENT_OneParam (GenericApplication, FOnDisplayMetricsChanged, const FDisplayMetrics &)
 
FOnDisplayMetricsChangedOnDisplayMetricsChanged ()
 
 DECLARE_EVENT_OneParam (FSlateApplication, FVirtualKeyboardShownEvent, FPlatformRect)
 
FVirtualKeyboardShownEventOnVirtualKeyboardShown ()
 
 DECLARE_EVENT (FSlateApplication, FVirtualKeyboardHiddenEvent)
 
FVirtualKeyboardHiddenEventOnVirtualKeyboardHidden ()
 
 DECLARE_EVENT (FSlateApplication, FOnClipboardContentChanged)
 
FOnClipboardContentChangedOnClipboardContentChanged ()
 
virtual void SendAnalytics (IAnalyticsProvider *Provider)
 
virtual bool SupportsSystemHelp () const
 
virtual void ShowSystemHelp ()
 
virtual bool ApplicationLicenseValid (FPlatformUserId PlatformUser=PLATFORMUSERID_NONE)
 
virtual bool IsAllowedToRender () const
 
- Public Member Functions inherited from IInputInterface
virtual ~IInputInterface ()
 

Static Public Member Functions

static APPLICATIONCORE_API FWindowsApplicationCreateWindowsApplication (const HINSTANCE InstanceHandle, const HICON IconHandle)
 
static void StaticPostPumpMessages ()
 
static bool StaticGetCursorPosition (POINT &OutSursorPos)
 
static void StaticForceUpdateAsyncCursor ()
 

Protected Member Functions

APPLICATIONCORE_API int32 ProcessMessage (HWND hwnd, uint32 msg, WPARAM wParam, LPARAM lParam)
 
void ProcessMouseButton (double CurrentTime, const TSharedPtr< FGenericWindow > &Window, USHORT ButtonFlags, USHORT DownFlag, USHORT UpFlag, EMouseButtons::Type MouseButton, FVector2D CursorPos)
 
APPLICATIONCORE_API int32 ProcessDeferredMessage (const FDeferredWindowsMessage &DeferredMessage)
 
APPLICATIONCORE_API void ProcessDeferredDragDropOperation (const FDeferredWindowsDragDropOperation &Op)
 
APPLICATIONCORE_API FWindowsApplication (const HINSTANCE HInstance, const HICON IconHandle)
 
APPLICATIONCORE_API void ApplyLowLevelMouseFilter ()
 
APPLICATIONCORE_API void RemoveLowLevelMouseFilter ()
 
- Protected Member Functions inherited from GenericApplication
void BroadcastDisplayMetricsChanged (const FDisplayMetrics &InMetrics)
 

Static Protected Member Functions

static APPLICATIONCORE_API LRESULT CALLBACK AppWndProc (HWND hwnd, uint32 msg, WPARAM wParam, LPARAM lParam)
 
static APPLICATIONCORE_API LRESULT CALLBACK HandleLowLevelMouseFilterHook (int nCode, WPARAM wParam, LPARAM lParam)
 

Protected Attributes

HHOOK LowLevelMouseFilterHook
 
bool bLowLevelMouseFilterIsApplied = false
 
- Protected Attributes inherited from GenericApplication
TSharedRef< class FGenericApplicationMessageHandlerMessageHandler
 
FOnDisplayMetricsChanged OnDisplayMetricsChangedEvent
 
FVirtualKeyboardShownEvent VirtualKeyboardShownEvent
 
FVirtualKeyboardHiddenEvent VirtualKeyboardHiddenEvent
 
FOnClipboardContentChanged OnClipboardContentChangedEvent
 

Friends

LRESULT WindowsApplication_WndProc (HWND hwnd, uint32 msg, WPARAM wParam, LPARAM lParam)
 

Additional Inherited Members

- Public Attributes inherited from GenericApplication
const TSharedPtr< ICursorCursor
 

Detailed Description

Windows-specific application implementation.

Member Enumeration Documentation

◆ EForceMaxTouchpadSensitivityAsyncBehavior

On Windows 10 22H2 and later where we can set the touchpad sensitivity system wide setting force it to most sensitive so that touch swipes are not ignored while keyboard keys are being depressed. In Windows 11 24H2 a new api was added which can change this setting only for this app.

We reccomend that this feature be exposed as a user setting which is enabled by default and hidden/disabled if SupportsForceMaxTouchpadSensitivity() returns false and that the CVar be used to activate it rather than directly calling ApplyForceMaxTouchpadSensitivity/RemoveForceMaxTouchpadSensitivity due to the complexity of handling the focus/exit/crash cases with the SetTouchpadParameters api.

See WindowsApplication.cpp namespace UE::WindowsApplication::TouchpadSensitivity for more information about this system.

Enumerator
AllowAsynchronous 
RequireBlocking 

◆ EForceMaxTouchpadSensitivityRestorationValues

If we are using the system wide setting it is possible that we could crash and fail to set it back. Call this function to find out if we have a system setting value we would like to restore after a crash. If this information was passed to a separate process (perhaps by writing it to a file) that process might be able to restore the setting after a crash.

Enumerator
SystemCallFailed 
RestorationNotNeeded 
TOUCHPAD_SENSITIVITY_LEVEL_MOST_SENSITIVE 
TOUCHPAD_SENSITIVITY_LEVEL_HIGH_SENSITIVITY 
TOUCHPAD_SENSITIVITY_LEVEL_MEDIUM_SENSITIVITY 
TOUCHPAD_SENSITIVITY_LEVEL_LOW_SENSITIVITY 
TOUCHPAD_SENSITIVITY_LEVEL_LEAST_SENSITIVE 

Constructor & Destructor Documentation

◆ ~FWindowsApplication()

FWindowsApplication::~FWindowsApplication ( )
virtual

Virtual destructor.

◆ FWindowsApplication()

FWindowsApplication::FWindowsApplication ( const HINSTANCE  HInstance,
const HICON  IconHandle 
)
protected

Hidden constructor.

Member Function Documentation

◆ AddExternalInputDevice()

void FWindowsApplication::AddExternalInputDevice ( TSharedPtr< class IInputDevice InputDevice)
virtual

◆ AddMessageHandler()

void FWindowsApplication::AddMessageHandler ( IWindowsMessageHandler InMessageHandler)
virtual

Adds a Windows message handler with the application instance.

Parameters
MessageHandlerThe message handler to register.
See also
RemoveMessageHandler

◆ ApplyForceMaxTouchpadSensitivity()

void FWindowsApplication::ApplyForceMaxTouchpadSensitivity ( )

◆ ApplyLowLevelMouseFilter()

void FWindowsApplication::ApplyLowLevelMouseFilter ( )
protected

◆ AppWndProc()

LRESULT CALLBACK FWindowsApplication::AppWndProc ( HWND  hwnd,
uint32  msg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprotected

Windows callback for message processing (forwards messages to the FWindowsApplication instance).

◆ CacheCursorInfo()

void FWindowsApplication::CacheCursorInfo ( )

Cache Win32 calls that can take a while.

◆ CreateWindowsApplication()

FWindowsApplication * FWindowsApplication::CreateWindowsApplication ( const HINSTANCE  InstanceHandle,
const HICON  IconHandle 
)
static

Static: Creates a new Win32 application

Parameters
InstanceHandleWin32 instance handle.
IconHandleWin32 application icon handle.
Returns
New application object.

◆ DeferDragDropOperation()

void FWindowsApplication::DeferDragDropOperation ( const FDeferredWindowsDragDropOperation DeferredDragDropOperation)

Called by a window when an OLE Drag and Drop operation occurred on a non-game thread

◆ DestroyApplication()

void FWindowsApplication::DestroyApplication ( )
overridevirtual

Reimplemented from GenericApplication.

◆ FinishedInputThisFrame()

void FWindowsApplication::FinishedInputThisFrame ( )
overridevirtual

Reimplemented from GenericApplication.

◆ ForceUpdateAsyncCursor()

void FWindowsApplication::ForceUpdateAsyncCursor ( )

◆ GetCapture()

void * FWindowsApplication::GetCapture ( void  ) const
overridevirtual

Reimplemented from GenericApplication.

◆ GetCursorPosition()

bool FWindowsApplication::GetCursorPosition ( POINT OutSursorPos)

◆ GetForceMaxTouchpadSensitivityRestorationValue()

FWindowsApplication::EForceMaxTouchpadSensitivityRestorationValues FWindowsApplication::GetForceMaxTouchpadSensitivityRestorationValue ( )

◆ GetInitialDisplayMetrics()

void FWindowsApplication::GetInitialDisplayMetrics ( FDisplayMetrics OutDisplayMetrics) const
overridevirtual

Reimplemented from GenericApplication.

◆ GetInputInterface()

virtual IInputInterface * FWindowsApplication::GetInputInterface ( )
inlineoverridevirtual

Reimplemented from GenericApplication.

◆ GetModifierKeys()

FModifierKeysState FWindowsApplication::GetModifierKeys ( ) const
overridevirtual

Reimplemented from GenericApplication.

◆ GetTaskbarList()

TSharedPtr< FTaskbarList > FWindowsApplication::GetTaskbarList ( )

◆ GetTextInputMethodSystem()

virtual ITextInputMethodSystem * FWindowsApplication::GetTextInputMethodSystem ( )
inlineoverridevirtual

Function to return the current implementation of the Text Input Method System

Reimplemented from GenericApplication.

◆ GetWindowTitleAlignment()

EWindowTitleAlignment::Type FWindowsApplication::GetWindowTitleAlignment ( ) const
overridevirtual

Gets the horizontal alignment of the window title bar's title text.

Reimplemented from GenericApplication.

◆ GetWindowTransparencySupport()

EWindowTransparency FWindowsApplication::GetWindowTransparencySupport ( ) const
overridevirtual

Reimplemented from GenericApplication.

◆ GetWorkArea()

FPlatformRect FWindowsApplication::GetWorkArea ( const FPlatformRect CurrentWindow) const
overridevirtual

Reimplemented from GenericApplication.

◆ HandleLowLevelMouseFilterHook()

LRESULT CALLBACK FWindowsApplication::HandleLowLevelMouseFilterHook ( int  nCode,
WPARAM  wParam,
LPARAM  lParam 
)
staticprotected

◆ InitializeWindow()

void FWindowsApplication::InitializeWindow ( const TSharedRef< FGenericWindow > &  Window,
const TSharedRef< FGenericWindowDefinition > &  InDefinition,
const TSharedPtr< FGenericWindow > &  InParent,
const bool  bShowImmediately 
)
overridevirtual

Reimplemented from GenericApplication.

◆ IsCursorDirectlyOverSlateWindow()

bool FWindowsApplication::IsCursorDirectlyOverSlateWindow ( ) const
overridevirtual
Returns
true if the system cursor is currently directly over a slate window.

Reimplemented from GenericApplication.

◆ IsGamepadAttached()

bool FWindowsApplication::IsGamepadAttached ( ) const
overridevirtual

Reimplemented from GenericApplication.

◆ IsMinimized()

virtual bool FWindowsApplication::IsMinimized ( ) const
inlineoverridevirtual

Reimplemented from GenericApplication.

◆ IsMouseAttached()

virtual bool FWindowsApplication::IsMouseAttached ( ) const
inlineoverridevirtual

Reimplemented from GenericApplication.

◆ IsUsingHighPrecisionMouseMode()

virtual bool FWindowsApplication::IsUsingHighPrecisionMouseMode ( ) const
inlineoverridevirtual

Reimplemented from GenericApplication.

◆ MakeWindow()

TSharedRef< FGenericWindow > FWindowsApplication::MakeWindow ( )
overridevirtual

Reimplemented from GenericApplication.

◆ OnOLEDragEnter()

HRESULT FWindowsApplication::OnOLEDragEnter ( const HWND  HWnd,
const FDragDropOLEData OLEData,
::DWORD  KeyState,
POINTL  CursorPosition,
::DWORD *  CursorEffect 
)

Invoked by a window when an OLE Drag and Drop first enters it.

◆ OnOLEDragOut()

HRESULT FWindowsApplication::OnOLEDragOut ( const HWND  HWnd)

Invoked by a window when an OLE Drag and Drop exits the window.

◆ OnOLEDragOver()

HRESULT FWindowsApplication::OnOLEDragOver ( const HWND  HWnd,
::DWORD  KeyState,
POINTL  CursorPosition,
::DWORD *  CursorEffect 
)

Invoked by a window when an OLE Drag and Drop moves over the window.

◆ OnOLEDrop()

HRESULT FWindowsApplication::OnOLEDrop ( const HWND  HWnd,
const FDragDropOLEData OLEData,
::DWORD  KeyState,
POINTL  CursorPosition,
::DWORD *  CursorEffect 
)

Invoked by a window when an OLE Drag and Drop is dropped onto the window.

◆ PollGameDeviceState()

void FWindowsApplication::PollGameDeviceState ( const float  TimeDelta)
overridevirtual

Reimplemented from GenericApplication.

◆ PostPumpMessages()

void FWindowsApplication::PostPumpMessages ( )

Perform operations after pumping messages.

◆ ProcessDeferredDragDropOperation()

void FWindowsApplication::ProcessDeferredDragDropOperation ( const FDeferredWindowsDragDropOperation Op)
protected

Processes deferred drag and drop operations.

◆ ProcessDeferredEvents()

void FWindowsApplication::ProcessDeferredEvents ( const float  TimeDelta)
overridevirtual

Reimplemented from GenericApplication.

◆ ProcessDeferredMessage()

int32 FWindowsApplication::ProcessDeferredMessage ( const FDeferredWindowsMessage DeferredMessage)
protected

Processes a deferred Windows message.

◆ ProcessMessage()

int32 FWindowsApplication::ProcessMessage ( HWND  hwnd,
uint32  msg,
WPARAM  wParam,
LPARAM  lParam 
)
protected

Processes a single Windows message.

◆ ProcessMouseButton()

void FWindowsApplication::ProcessMouseButton ( double  CurrentTime,
const TSharedPtr< FGenericWindow > &  Window,
USHORT  ButtonFlags,
USHORT  DownFlag,
USHORT  UpFlag,
EMouseButtons::Type  MouseButton,
FVector2D  CursorPos 
)
protected

Processes mouse button.

◆ ProcessRawMouseInput()

void FWindowsApplication::ProcessRawMouseInput ( const RAWMOUSE Mouse,
RawMouseInputResult OutResult 
)

Process raw mouse input.

◆ ProcessWorkerInputs()

void FWindowsApplication::ProcessWorkerInputs ( )

Process raw mouse inputs gathered from a helper thread/window.

◆ PumpMessages()

void FWindowsApplication::PumpMessages ( const float  TimeDelta)
overridevirtual

Reimplemented from GenericApplication.

◆ RemoveForceMaxTouchpadSensitivity()

void FWindowsApplication::RemoveForceMaxTouchpadSensitivity ( )

◆ RemoveLowLevelMouseFilter()

void FWindowsApplication::RemoveLowLevelMouseFilter ( )
protected

◆ RemoveMessageHandler()

void FWindowsApplication::RemoveMessageHandler ( IWindowsMessageHandler InMessageHandler)
virtual

Removes a Windows message handler with the application instance.

Parameters
MessageHandlerThe message handler to register.
See also
AddMessageHandler

◆ ResetLightColor()

virtual void FWindowsApplication::ResetLightColor ( int32  ControllerId)
inlineoverridevirtual

Implements IInputInterface.

◆ SetCapture()

void FWindowsApplication::SetCapture ( const TSharedPtr< FGenericWindow > &  InWindow)
overridevirtual

Reimplemented from GenericApplication.

◆ SetDeviceProperty()

void FWindowsApplication::SetDeviceProperty ( int32  ControllerId,
const FInputDeviceProperty Property 
)
overridevirtual

Sets a property for a given controller id. Will be ignored for devices which don't support the property.

Parameters
ControllerIdthe id of the controller whose property is to be applied
PropertyBase class pointer to property that will be applied

Reimplemented from IInputInterface.

◆ SetForceFeedbackChannelValue()

void FWindowsApplication::SetForceFeedbackChannelValue ( int32  ControllerId,
FForceFeedbackChannelType  ChannelType,
float  Value 
)
overridevirtual

Sets the strength/speed of the given channel for the given controller id. NOTE: If the channel is not supported, the call will silently fail

Parameters
ControllerIdthe id of the controller whose value is to be set
ChannelTypethe type of channel whose value should be set
Valuestrength or speed of feedback, 0.0f to 1.0f. 0.0f will disable

Implements IInputInterface.

◆ SetForceFeedbackChannelValues()

void FWindowsApplication::SetForceFeedbackChannelValues ( int32  ControllerId,
const FForceFeedbackValues Values 
)
overridevirtual

Sets the strength/speed of all the channels for the given controller id. NOTE: Unsupported channels are silently ignored

Parameters
ControllerIdthe id of the controller whose value is to be set
FForceFeedbackChannelValuesstrength or speed of feedback for all channels

Implements IInputInterface.

◆ SetHapticFeedbackValues()

void FWindowsApplication::SetHapticFeedbackValues ( int32  ControllerId,
int32  Hand,
const FHapticFeedbackValues Values 
)
overridevirtual

Sets the frequency and amplitude of haptic feedback channels for a given controller id. Some devices / platforms may support just haptics, or just force feedback.

Parameters
ControllerIdID of the controller to issue haptic feedback for
HandIdWhich hand id (e.g. left or right) to issue the feedback for. These usually correspond to EControllerHands
ValuesFrequency and amplitude to haptics at

Reimplemented from IInputInterface.

◆ SetHighPrecisionMouseMode()

void FWindowsApplication::SetHighPrecisionMouseMode ( const bool  Enable,
const TSharedPtr< FGenericWindow > &  InWindow 
)
overridevirtual

Reimplemented from GenericApplication.

◆ SetLightColor()

virtual void FWindowsApplication::SetLightColor ( int32  ControllerId,
FColor  Color 
)
inlineoverridevirtual

Implements IInputInterface.

◆ SetMessageHandler()

void FWindowsApplication::SetMessageHandler ( const TSharedRef< class FGenericApplicationMessageHandler > &  InMessageHandler)
overridevirtual

Reimplemented from GenericApplication.

◆ StaticForceUpdateAsyncCursor()

void FWindowsApplication::StaticForceUpdateAsyncCursor ( )
static

◆ StaticGetCursorPosition()

bool FWindowsApplication::StaticGetCursorPosition ( POINT OutSursorPos)
static

◆ StaticPostPumpMessages()

void FWindowsApplication::StaticPostPumpMessages ( )
static

Perform operations after pumping messages on global application.

◆ SupportsForceMaxTouchpadSensitivity()

bool FWindowsApplication::SupportsForceMaxTouchpadSensitivity ( )

◆ UpdateHighPrecisionMouseMode()

void FWindowsApplication::UpdateHighPrecisionMouseMode ( )

Friends And Related Symbol Documentation

◆ WindowsApplication_WndProc

LRESULT WindowsApplication_WndProc ( HWND  hwnd,
uint32  msg,
WPARAM  wParam,
LPARAM  lParam 
)
friend

Member Data Documentation

◆ bLowLevelMouseFilterIsApplied

bool FWindowsApplication::bLowLevelMouseFilterIsApplied = false
protected

◆ LowLevelMouseFilterHook

HHOOK FWindowsApplication::LowLevelMouseFilterHook
protected

The documentation for this class was generated from the following files: