OpenXR - Default device config added
This commit is contained in:
parent
8c9fd584b3
commit
8f2904ecac
6 changed files with 46 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue