UEConsole Commands
VariableConsole VariableSlate

Slate.PreventDuplicateMouseEventsForTouchForWindows7

Slate.PreventDuplicateMouseEventsForTouchForWindows7 is a console variable in Unreal Engine 5 (UE5). See what Slate.PreventDuplicateMouseEventsForTouchForWindows7 does, its values, and how to use this cvar in the Unreal console below.

Category: Slate · Namespace: slate

Help

Hack to get around multiple mouse events being triggered for touch events on Windows 7 and lower. Enabling this will prevent pen tablets from working on windows 7 since until we switch to the windows 8 sdk (and can use WM_POINTER* events) we cannot detect the difference

Usage

Unreal console (open with ~)
> Slate.PreventDuplicateMouseEventsForTouchForWindows7 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in slate