X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/131f235d04ef7a192e5f553c74c7df45c526cfa2..723aa01a832bf97a43f9cb5c0850e82b4998cd7d:/include/wx/msw/joystick.h?ds=sidebyside diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index 1f3bd5cb1f..3d95663424 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -1,21 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: joystick.h +// Name: wx/msw/joystick.h // Purpose: wxJoystick class // Author: Julian Smart // Modified by: // 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 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;