X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..194027acb360e71d5c378db3eb08d63e01e164d0:/include/wx/mac/carbon/joystick.h?ds=sidebyside diff --git a/include/wx/mac/carbon/joystick.h b/include/wx/mac/carbon/joystick.h index 6db596e3b3..2aabceb8c3 100644 --- a/include/wx/mac/carbon/joystick.h +++ b/include/wx/mac/carbon/joystick.h @@ -12,10 +12,6 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLEXPORT wxJoystick: public wxObject @@ -32,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; @@ -46,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 ;