X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..fba05595e6cca40763f8ead119c7ad61cb01e0e4:/include/wx/mac/corefoundation/joystick.h?ds=sidebyside diff --git a/include/wx/mac/corefoundation/joystick.h b/include/wx/mac/corefoundation/joystick.h index a8f589a031..e57bf28cb7 100644 --- a/include/wx/mac/corefoundation/joystick.h +++ b/include/wx/mac/corefoundation/joystick.h @@ -14,7 +14,7 @@ #include "wx/event.h" -class WXDLLEXPORT wxJoystickThread; +class WXDLLIMPEXP_FWD_CORE wxJoystickThread; class WXDLLEXPORT wxJoystick: public wxObject { @@ -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 ;