]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/joystick.h
check for wxUSE_TIMER in headers, not the files including them
[wxWidgets.git] / include / wx / mac / carbon / joystick.h
index 271db26b0a03d12296b912c32b3c716a180aab0c..2aabceb8c3330e3c0c1727bec24b2e53f3df5c69 100644 (file)
@@ -28,6 +28,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;
@@ -42,7 +44,7 @@ class WXDLLEXPORT wxJoystick: public wxObject
   ////////////////////////////////////////////////////////////////////////////
 
   bool IsOk() const; // Checks that the joystick is functioning
-  int GetNumberJoysticks() const ;
+  static int GetNumberJoysticks() ;
   int GetManufacturerId() const ;
   int GetProductId() const ;
   wxString GetProductName() const ;