]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/joystick.h
forward port from 2.8
[wxWidgets.git] / include / wx / unix / joystick.h
index 4ff41f134e890d5ac8c4e2bdc68d11f797f8baff..62b4ec7effeb03729215ec0860b29b8a00d39c28 100644 (file)
@@ -15,9 +15,9 @@
 #include "wx/event.h"
 #include "wx/thread.h"
 
-class WXDLLEXPORT wxJoystickThread;
+class WXDLLIMPEXP_FWD_CORE wxJoystickThread;
 
-class WXDLLEXPORT wxJoystick: public wxObject
+class WXDLLIMPEXP_ADV wxJoystick: public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxJoystick)
         public:
@@ -32,6 +32,8 @@ class WXDLLEXPORT wxJoystick: public wxObject
     ////////////////////////////////////////////////////////////////////////////
 
     wxPoint GetPosition() const;
+    int GetPosition(unsigned axis) const;
+    bool GetButtonState(unsigned button) const;
     int GetZPosition() const;
     int GetButtonState() const;
     int GetPOVPosition() const;