| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: joystick.h |
| 3 | // Purpose: wxJoystick base header |
| 4 | // Author: wxWidgets Team |
| 5 | // Modified by: |
| 6 | // Created: |
| 7 | // Copyright: (c) wxWidgets Team |
| 8 | // RCS-ID: $Id$ |
| 9 | // Licence: wxWindows licence |
| 10 | ///////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_JOYSTICK_H_BASE_ |
| 13 | #define _WX_JOYSTICK_H_BASE_ |
| 14 | |
| 15 | #include "wx/defs.h" |
| 16 | |
| 17 | #if wxUSE_JOYSTICK |
| 18 | |
| 19 | #if defined(__WXMSW__) |
| 20 | #include "wx/msw/joystick.h" |
| 21 | #elif defined(__WXMOTIF__) |
| 22 | #include "wx/unix/joystick.h" |
| 23 | #elif defined(__WXGTK__) |
| 24 | #include "wx/unix/joystick.h" |
| 25 | #elif defined(__WXX11__) |
| 26 | #include "wx/unix/joystick.h" |
| 27 | #elif defined(__DARWIN__) |
| 28 | #include "wx/mac/corefoundation/joystick.h" |
| 29 | #elif defined(__WXMAC__) |
| 30 | #include "wx/mac/joystick.h" |
| 31 | #elif defined(__WXPM__) |
| 32 | #include "wx/os2/joystick.h" |
| 33 | #endif |
| 34 | |
| 35 | #endif // wxUSE_JOYSTICK |
| 36 | |
| 37 | #endif |
| 38 | // _WX_JOYSTICK_H_BASE_ |