X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/131f9d9b19b6b7943b24601fc813ceaa2c57340e..99c4be680622f58a48a04dfe0835b59d2c41afea:/include/wx/msw/joystick.h diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index 18cad55c79..7a655137a9 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -6,19 +6,15 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ -#pragma interface "joystick.h" -#endif - #include "wx/event.h" -class WXDLLEXPORT wxJoystick: public wxObject +class WXDLLIMPEXP_ADV wxJoystick: public wxObject { DECLARE_DYNAMIC_CLASS(wxJoystick) public: @@ -32,6 +28,8 @@ class WXDLLEXPORT wxJoystick: public wxObject //////////////////////////////////////////////////////////////////////////// wxPoint GetPosition(void) const; + int GetPosition(unsigned axis) const; + bool GetButtonState(unsigned button) const; int GetZPosition(void) const; int GetButtonState(void) const; int GetPOVPosition(void) const;