![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Classes | |
| struct | tagTOUCHPAD_PARAMETERS_V0 |
Enumerations | |
| enum class | EForceMaxTouchpadSensitivityMode { NotCached , DoNothing , SetTouchpadParameters , SetMaxTouchpadSensitivity } |
| enum | LEGACY_TOUCHPAD_FEATURES { LEGACY_TOUCHPAD_FEATURE_NONE = 0x00000000 , LEGACY_TOUCHPAD_FEATURE_ENABLE_DISABLE = 0x00000001 , LEGACY_TOUCHPAD_FEATURE_REVERSE_SCROLL_DIRECTION = 0x00000004 } |
| enum | TOUCHPAD_SENSITIVITY_LEVEL { 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 , TOUCHPAD_SENSITIVITY_LEVEL_NOT_SET = 0x0000000F } |
Variables | |
| FAutoConsoleVariableRef | CVarForceMaxTouchpadSensitivity (TEXT("WindowsApplication.ForceMaxTouchpadSensitivity"), bForceMaxTouchpadSensitivity, TEXT("Force Touchpad sensitivity to maximum in game when the app is active (aka has focus)." " The sensitivity setting can reject touchpad touches while typing on the theory that they are accidental, but that is not a good assumption for games." " The setting defaults to 'Medium'. The 'Most sensitive' setting does not reject any touches, so that is what we want.." " On Windows10 22H2 we force the global system setting to 'Most Sensitive', but do not write that to the registry persistently." " We will set it back when the app loses focus and on exit, but it may not happen in the case of a crash leaving the setting altered until a reboot." " On Window11 24H2 (excepting very early installs of 24H2) a new api SetMaxTouchpadSensitivity exists and we use that." " SetMaxTouchpadSensitivity changes the setting only for this app, so we do not need to handle clean-up." " When the cvar is changed a CVarSinkHandler will attempt to apply or remove max sensitivity.")) |
| FAutoConsoleVariableRef | CVarDisableForceMaxTouchpadSensitivity_SetTouchpadParameters (TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetTouchpadParameters"), bDisableForceMaxTouchpadSensitivity_SetTouchpadParameters,) |
| FAutoConsoleVariableRef | CVarDisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity (TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity"), bDisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity,) |
| FAutoConsoleVariableRef | CVarWriteSavedTouchpadSensitivityToRegistry (TEXT("WindowsApplication.WriteSavedTouchpadSensitivityToRegistry"), bWriteSavedTouchpadSensitivityToRegistry,) |
| FAutoConsoleVariableRef | CVarRestoreTouchpadSensitivityFromRegistry (TEXT("WindowsApplication.RestoreTouchpadSensitivityFromRegistry"), bRestoreTouchpadSensitivityFromRegistry,) |
| const UINT | SPI_GETTOUCHPADPARAMETERS = 0x00AE |
| const UINT | SPI_SETTOUCHPADPARAMETERS = 0x00AF |
| typedef enum UE::WindowsApplication::TouchpadSensitivity::LEGACY_TOUCHPAD_FEATURES UE::WindowsApplication::TouchpadSensitivity::LEGACY_TOUCHPAD_FEATURES |
| typedef struct UE::WindowsApplication::TouchpadSensitivity::tagTOUCHPAD_PARAMETERS_V0 * UE::WindowsApplication::TouchpadSensitivity::PTOUCHPAD_PARAMETERS_V0 |
| typedef BOOL(* UE::WindowsApplication::TouchpadSensitivity::SetMaxTouchpadSensitivityProc) (_In_ BOOL enable) |
| typedef struct UE::WindowsApplication::TouchpadSensitivity::tagTOUCHPAD_PARAMETERS_V0 UE::WindowsApplication::TouchpadSensitivity::TOUCHPAD_PARAMETERS_V0 |
| typedef enum UE::WindowsApplication::TouchpadSensitivity::TOUCHPAD_SENSITIVITY_LEVEL UE::WindowsApplication::TouchpadSensitivity::TOUCHPAD_SENSITIVITY_LEVEL |
| void UE::WindowsApplication::TouchpadSensitivity::ApplyForceMaxTouchpadSensitivity | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::CacheForceMaxTouchpadSensitivityMode | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::ClearSavedSensitivityFromRegistry | ( | ) |
| UE::WindowsApplication::TouchpadSensitivity::DECLARE_LOG_CATEGORY_EXTERN | ( | LogWindowsTouchpad | , |
| Display | , | ||
| VeryVerbose | |||
| ) |
| UE::WindowsApplication::TouchpadSensitivity::DEFINE_LOG_CATEGORY | ( | LogWindowsTouchpad | ) |
| EForceMaxTouchpadSensitivityMode UE::WindowsApplication::TouchpadSensitivity::GetForceMaxTouchpadSensitivityMode | ( | ) |
| FWindowsApplication::EForceMaxTouchpadSensitivityRestorationValues UE::WindowsApplication::TouchpadSensitivity::GetForceMaxTouchpadSensitivityRestorationValue | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::GetRegistryStoreIdAndSection | ( | FString & | OutStoreId, |
| FString & | OutSectionName | ||
| ) |
| void UE::WindowsApplication::TouchpadSensitivity::HandleDestroyApplication | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::HandleShutDownAfterError | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::HandleStartupApp | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::OnWMSettingChangeSetTouchpadParameters | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::ReadSavedSensitivityFromRegistry | ( | TOUCHPAD_SENSITIVITY_LEVEL & | OutSavedSensitivity, |
| bool & | OutbSuccess | ||
| ) |
| void UE::WindowsApplication::TouchpadSensitivity::RemoveForceMaxTouchpadSensitivity | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::RemoveForceMaxTouchpadSensitivityOnErrorShutdown | ( | ) |
| bool UE::WindowsApplication::TouchpadSensitivity::SupportsForceMaxTouchpadSensitivity | ( | ) |
| bool UE::WindowsApplication::TouchpadSensitivity::TryCacheSetMaxTouchpadSensitivityProc | ( | ) |
| void UE::WindowsApplication::TouchpadSensitivity::WriteSavedSensitivityToRegistry | ( | TOUCHPAD_SENSITIVITY_LEVEL | SavedSensitivity | ) |
| FAutoConsoleVariableRef UE::WindowsApplication::TouchpadSensitivity::CVarDisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity(TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity"), bDisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity,) | ( | TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity") | , |
| bDisableForceMaxTouchpadSensitivity_SetMaxTouchpadSensitivity | |||
| ) |
| FAutoConsoleVariableRef UE::WindowsApplication::TouchpadSensitivity::CVarDisableForceMaxTouchpadSensitivity_SetTouchpadParameters(TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetTouchpadParameters"), bDisableForceMaxTouchpadSensitivity_SetTouchpadParameters,) | ( | TEXT("WindowsApplication.DisableForceMaxTouchpadSensitivity_SetTouchpadParameters") | , |
| bDisableForceMaxTouchpadSensitivity_SetTouchpadParameters | |||
| ) |
| FAutoConsoleVariableRef UE::WindowsApplication::TouchpadSensitivity::CVarForceMaxTouchpadSensitivity(TEXT("WindowsApplication.ForceMaxTouchpadSensitivity"), bForceMaxTouchpadSensitivity, TEXT("Force Touchpad sensitivity to maximum in game when the app is active (aka has focus)." " The sensitivity setting can reject touchpad touches while typing on the theory that they are accidental, but that is not a good assumption for games." " The setting defaults to 'Medium'. The 'Most sensitive' setting does not reject any touches, so that is what we want.." " On Windows10 22H2 we force the global system setting to 'Most Sensitive', but do not write that to the registry persistently." " We will set it back when the app loses focus and on exit, but it may not happen in the case of a crash leaving the setting altered until a reboot." " On Window11 24H2 (excepting very early installs of 24H2) a new api SetMaxTouchpadSensitivity exists and we use that." " SetMaxTouchpadSensitivity changes the setting only for this app, so we do not need to handle clean-up." " When the cvar is changed a CVarSinkHandler will attempt to apply or remove max sensitivity.")) | ( | TEXT("WindowsApplication.ForceMaxTouchpadSensitivity") | , |
| bForceMaxTouchpadSensitivity | , | ||
| TEXT("Force Touchpad sensitivity to maximum in game when the app is active (aka has focus)." " The sensitivity setting can reject touchpad touches while typing on the theory that they are accidental, but that is not a good assumption for games." " The setting defaults to 'Medium'. The 'Most sensitive' setting does not reject any touches, so that is what we want.." " On Windows10 22H2 we force the global system setting to 'Most Sensitive', but do not write that to the registry persistently." " We will set it back when the app loses focus and on exit, but it may not happen in the case of a crash leaving the setting altered until a reboot." " On Window11 24H2 (excepting very early installs of 24H2) a new api SetMaxTouchpadSensitivity exists and we use that." " SetMaxTouchpadSensitivity changes the setting only for this app, so we do not need to handle clean-up." " When the cvar is changed a CVarSinkHandler will attempt to apply or remove max sensitivity.") | |||
| ) |
| FAutoConsoleVariableRef UE::WindowsApplication::TouchpadSensitivity::CVarRestoreTouchpadSensitivityFromRegistry(TEXT("WindowsApplication.RestoreTouchpadSensitivityFromRegistry"), bRestoreTouchpadSensitivityFromRegistry,) | ( | TEXT("WindowsApplication.RestoreTouchpadSensitivityFromRegistry") | , |
| bRestoreTouchpadSensitivityFromRegistry | |||
| ) |
| FAutoConsoleVariableRef UE::WindowsApplication::TouchpadSensitivity::CVarWriteSavedTouchpadSensitivityToRegistry(TEXT("WindowsApplication.WriteSavedTouchpadSensitivityToRegistry"), bWriteSavedTouchpadSensitivityToRegistry,) | ( | TEXT("WindowsApplication.WriteSavedTouchpadSensitivityToRegistry") | , |
| bWriteSavedTouchpadSensitivityToRegistry | |||
| ) |
| const UINT UE::WindowsApplication::TouchpadSensitivity::SPI_GETTOUCHPADPARAMETERS = 0x00AE |
| const UINT UE::WindowsApplication::TouchpadSensitivity::SPI_SETTOUCHPADPARAMETERS = 0x00AF |