X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/598ddd96f45745188c96f16757f7ceeaa0c8d70d..cba4e486a4f8ab05674bac6ed8c6bfa58ab25131:/include/wx/msw/joystick.h diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index 13a462b463..3d95663424 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: joystick.h +// Name: wx/msw/joystick.h // Purpose: wxJoystick class // Author: Julian Smart // Modified by: @@ -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 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;