summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llwindow/llwindow.h')
-rw-r--r--indra/llwindow/llwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llwindow/llwindow.h b/indra/llwindow/llwindow.h
index f19178d7f5..5c5f712b32 100644
--- a/indra/llwindow/llwindow.h
+++ b/indra/llwindow/llwindow.h
@@ -183,6 +183,8 @@ public:
virtual void setNativeAspectRatio(F32 aspect) = 0;
F32 getJoystickAxis(U32 axis);
+ U8 getJoystickButton(U32 button);
+
void setCallbacks(LLWindowCallbacks *callbacks);
virtual void beforeDialog() {}; // prepare to put up an OS dialog (if special measures are required, such as in fullscreen mode)
@@ -221,7 +223,8 @@ protected:
BOOL mHideCursorPermanent;
U32 mFlags;
F32 mJoyAxis[6];
-
+ U8 mJoyButtonState[16];
+
friend class LLWindowManager;
};