diff --git a/Projects/Android/jni/OpenJK/JKXR/android/TBXR_Common.h b/Projects/Android/jni/OpenJK/JKXR/android/TBXR_Common.h index 69bd53f..0b0b0d9 100644 --- a/Projects/Android/jni/OpenJK/JKXR/android/TBXR_Common.h +++ b/Projects/Android/jni/OpenJK/JKXR/android/TBXR_Common.h @@ -246,8 +246,8 @@ typedef struct GLboolean SessionActive; XrPosef xfStageFromHead; XrView* Views; - - + + int controllersPresent = -1; float currentDisplayRefreshRate; float* SupportedDisplayRefreshRates; uint32_t RequestedDisplayRefreshRateIndex; @@ -337,4 +337,10 @@ void TBXR_prepareEyeBuffer(int eye ); void TBXR_finishEyeBuffer(int eye ); void TBXR_submitFrame(); +#define VIVE_CONTROLLERS 10 +#define INDEX_CONTROLLERS 11 +#define PICO_CONTROLLERS 12 +#define TOUCH_CONTROLLERS 13 +//Anything else will emulate touch + #endif //vrcommon_h \ No newline at end of file