]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/corefoundation/joystick.h
Implement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
[wxWidgets.git] / include / wx / mac / corefoundation / joystick.h
index a8f589a03190ff90de23a63cd13169957e135083..99f23c37f9f9c2d552cb46c09f6ff8ceac5f2b0b 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 ;