mirror of
https://github.com/DrBeef/Quake2Quest.git
synced 2024-12-12 05:22:40 +00:00
34 lines
No EOL
966 B
C
34 lines
No EOL
966 B
C
|
|
#if !defined(vrinput_h)
|
|
#define vrinput_h
|
|
|
|
#include "VrCommon.h"
|
|
|
|
//New control scheme definitions to be defined L1VR_SurfaceView.c enumeration
|
|
enum control_scheme;
|
|
|
|
ovrInputStateTrackedRemote leftTrackedRemoteState_old;
|
|
ovrInputStateTrackedRemote leftTrackedRemoteState_new;
|
|
ovrTracking leftRemoteTracking_new;
|
|
|
|
ovrInputStateTrackedRemote rightTrackedRemoteState_old;
|
|
ovrInputStateTrackedRemote rightTrackedRemoteState_new;
|
|
ovrTracking rightRemoteTracking_new;
|
|
|
|
float remote_movementSideways;
|
|
float remote_movementForward;
|
|
float remote_movementUp;
|
|
float positional_movementSideways;
|
|
float positional_movementForward;
|
|
float snapTurn;
|
|
|
|
void sendButtonAction(const char* action, long buttonDown);
|
|
void sendButtonActionSimple(const char* action);
|
|
|
|
void acquireTrackedRemotesData(const ovrMobile *Ovr, double displayTime);
|
|
|
|
void HandleInput_Right( ovrMobile * Ovr, double displayTime );
|
|
void HandleInput_Left( ovrMobile * Ovr, double displayTime );
|
|
|
|
|
|
#endif //vrinput_h
|