OpenXR - Resuming renderer fixed, haptics support added

This commit is contained in:
Lubos committed 2022-08-16 16:47:31 +02:00
1 parent 382df469c1
commit 92d631966f
5 files changed
+25 -11

No files matched your search

+2
View File
@@ -721,6 +721,8 @@ void GameSettingsScreen::CreateViews() {
customizeTilt->SetEnabledFunc([] {
return g_Config.iTiltInputType != 0;
});
} else if (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_VR) {
controlsSettings->Add(new CheckBox(&g_Config.bHapticFeedback, co->T("HapticFeedback", "Haptic Feedback (vibration)")));
}
// TVs don't have touch control, at least not yet.