#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
////////////////////////////////////////////////////////////////////////////
wxPoint GetPosition() const;
+ int GetPosition(unsigned axis) const;
+ bool GetButtonState(unsigned button) const;
int GetZPosition() const;
int GetButtonState() const;
int GetPOVPosition() const;
////////////////////////////////////////////////////////////////////////////
bool IsOk() const; // Checks that the joystick is functioning
- int GetNumberJoysticks() const ;
+ static int GetNumberJoysticks() ;
int GetManufacturerId() const ;
int GetProductId() const ;
wxString GetProductName() const ;