mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
OpenXR - Default device config added
This commit is contained in:
1 parent
8c9fd584b3
commit
8f2904ecac
6 files changed
+46
-12
No files matched your search
@@ -654,6 +654,11 @@ void SetAxisMapping(int btn, int deviceId, int axisId, int direction, bool repla
|
||||
void RestoreDefault() {
|
||||
g_controllerMap.clear();
|
||||
g_controllerMapGeneration++;
|
||||
#ifdef OPENXR
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_VR_HEADSET, false);
|
||||
return;
|
||||
#endif
|
||||
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_KEYBOARD, true);
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_XINPUT, false);
|
||||
|
||||
Reference in new issue
Block a user