/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.h
+// Name: wx/unix/joystick.h
// Purpose: wxJoystick class
// Author: Guilhem Lavaux
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Guilhem Lavaux
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __JOYSTICKH__
#include "wx/event.h"
#include "wx/thread.h"
-class WXDLLEXPORT wxJoystickThread;
+class WXDLLIMPEXP_FWD_CORE wxJoystickThread;
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;
};
#endif
-// __JOYSTICKH__
-
+ // __JOYSTICKH__