X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f196316400fd247a760b2ef77d5064b4e10e5471:/include/wx/msw/joystick.h?ds=inline diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index f158816b3f..7a655137a9 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -6,16 +6,12 @@ // 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_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLIMPEXP_ADV wxJoystick: public wxObject @@ -32,6 +28,8 @@ class WXDLLIMPEXP_ADV 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;