Recognise Controllers - add missing declarations to android build

This commit is contained in:
Petr Bartos 2023-12-13 20:06:16 +01:00
parent a56dad8ca3
commit bc6b23786e

View file

@ -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