summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerjoystick.h
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2024-06-27 00:18:42 -0700
committerAndrew Meadows <andrew.l.meadows@gmail.com>2024-10-03 09:03:28 -0700
commit9c986bef6704ac07112e18dc82b870acf1847e41 (patch)
treed24a8ce4b0c63dd2e0304340ec33464ee19dd845 /indra/newview/llviewerjoystick.h
parent2daf175650cdda7cc8f820b6cb17b1475496e7ac (diff)
put GameControl behind a feature flag
Diffstat (limited to 'indra/newview/llviewerjoystick.h')
-rw-r--r--indra/newview/llviewerjoystick.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/newview/llviewerjoystick.h b/indra/newview/llviewerjoystick.h
index b4fe3877f4..aaf9abb437 100644
--- a/indra/newview/llviewerjoystick.h
+++ b/indra/newview/llviewerjoystick.h
@@ -102,19 +102,21 @@ protected:
private:
F32 mAxes[6];
long mBtn[16];
- EJoystickDriverState mDriverState;
- NDOF_Device *mNdofDev;
- bool mResetFlag;
- F32 mPerfScale;
- bool mCameraUpdated;
- bool mOverrideCamera;
- U32 mJoystickRun;
+ EJoystickDriverState mDriverState { JDS_UNINITIALIZED };
+ NDOF_Device *mNdofDev { nullptr };
// Windows: _GUID as U8 binary map
// MacOS: long as an U8 binary map
// Else: integer 1 for no device/ndof's default device
LLSD mLastDeviceUUID;
+ F32 mPerfScale;
+ U32 mJoystickRun { 0 };
+ bool mResetFlag { false };
+ bool mCameraUpdated { true };
+ bool mOverrideCamera { false };
+ bool mDeviceIs3DConnexion { false };
+
static F32 sLastDelta[7];
static F32 sDelta[7];
};