mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Recognise Controllers - add missing declarations to android build
This commit is contained in:
parent
a56dad8ca3
commit
bc6b23786e
1 changed files with 8 additions and 2 deletions
|
@ -246,8 +246,8 @@ typedef struct
|
||||||
GLboolean SessionActive;
|
GLboolean SessionActive;
|
||||||
XrPosef xfStageFromHead;
|
XrPosef xfStageFromHead;
|
||||||
XrView* Views;
|
XrView* Views;
|
||||||
|
|
||||||
|
int controllersPresent = -1;
|
||||||
float currentDisplayRefreshRate;
|
float currentDisplayRefreshRate;
|
||||||
float* SupportedDisplayRefreshRates;
|
float* SupportedDisplayRefreshRates;
|
||||||
uint32_t RequestedDisplayRefreshRateIndex;
|
uint32_t RequestedDisplayRefreshRateIndex;
|
||||||
|
@ -337,4 +337,10 @@ void TBXR_prepareEyeBuffer(int eye );
|
||||||
void TBXR_finishEyeBuffer(int eye );
|
void TBXR_finishEyeBuffer(int eye );
|
||||||
void TBXR_submitFrame();
|
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
|
#endif //vrcommon_h
|
Loading…
Reference in a new issue