mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-29 23:42:38 +00:00
72ba9972d8
Rename JKQuest -> JKXR Renaming JKQuest to JKXR Renaming JKQuest to JKXR Renaming JKQuest to JKXR
37 lines
No EOL
1.6 KiB
C
37 lines
No EOL
1.6 KiB
C
|
|
#if !defined(vrinput_h)
|
|
#define vrinput_h
|
|
|
|
#include "VrCommon.h"
|
|
|
|
#define STABILISATION_DISTANCE 0.28
|
|
|
|
|
|
extern ovrInputStateTrackedRemote leftTrackedRemoteState_old;
|
|
extern ovrInputStateTrackedRemote leftTrackedRemoteState_new;
|
|
extern ovrTrackedController leftRemoteTracking_new;
|
|
extern ovrInputStateTrackedRemote rightTrackedRemoteState_old;
|
|
extern ovrInputStateTrackedRemote rightTrackedRemoteState_new;
|
|
extern ovrTrackedController rightRemoteTracking_new;
|
|
|
|
extern float remote_movementSideways;
|
|
extern float remote_movementForward;
|
|
extern float remote_movementUp;
|
|
extern float positional_movementSideways;
|
|
extern float positional_movementForward;
|
|
|
|
void sendButtonAction(const char* action, long buttonDown);
|
|
void sendButtonActionSimple(const char* action);
|
|
|
|
void HandleInput_Default( ovrInputStateTrackedRemote *pDominantTrackedRemoteNew, ovrInputStateTrackedRemote *pDominantTrackedRemoteOld, ovrTrackedController* pDominantTracking,
|
|
ovrInputStateTrackedRemote *pOffTrackedRemoteNew, ovrInputStateTrackedRemote *pOffTrackedRemoteOld, ovrTrackedController* pOffTracking,
|
|
int domButton1, int domButton2, int offButton1, int offButton2 );
|
|
|
|
void HandleInput_WeaponAlign( ovrInputStateTrackedRemote *pDominantTrackedRemoteNew, ovrInputStateTrackedRemote *pDominantTrackedRemoteOld, ovrTrackedController* pDominantTracking,
|
|
ovrInputStateTrackedRemote *pOffTrackedRemoteNew, ovrInputStateTrackedRemote *pOffTrackedRemoteOld, ovrTrackedController* pOffTracking,
|
|
int domButton1, int domButton2, int offButton1, int offButton2 );
|
|
|
|
|
|
void CalculateShoulderPosition();
|
|
|
|
#endif //vrinput_h
|