OpenXR - Controller mapping better

This commit is contained in:
Lubos committed 2022-07-22 18:47:37 +02:00
1 parent cc833faa13
commit 67821ca942
3 files changed
+28 -31

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ const char *GetDeviceName(int deviceId) {
case DEVICE_ID_XINPUT_3: return "x360_4";
case DEVICE_ID_ACCELEROMETER: return "accelerometer";
case DEVICE_ID_MOUSE: return "mouse";
case DEVICE_ID_XR_CONTROLLER_LEFT: return "xr_l";
case DEVICE_ID_XR_CONTROLLER_RIGHT: return "xr_r";
default:
return "unknown";
}