Added GCpad to SConstruct, should compile fine on Linux and Mac OSX now.

(some things need cleanup, waiting for ayuanx to finish it)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4932 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st
2010-01-23 12:59:02 +00:00
parent 9ec5ee94b4
commit 6b2466c869
9 changed files with 31 additions and 12 deletions

View File

@ -23,7 +23,17 @@
#include <vector> // System
#include <cstdio>
#include "../../Core/InputCommon/Src/SDL.h" // Core
#include "../../Core/InputCommon/Src/XInput.h"
#ifdef _WIN32
#include "../../Core/InputCommon/Src/XInput.h"
#elif defined(HAVE_X11) && HAVE_X11
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/XKBlib.h>
//no need for Cocoa yet, but I guess ayuanx isn't done yet.
//#elif defined(HAVE_COCOA) && HAVE_COCOA
// #include <Cocoa/Cocoa.h>
#endif
#include "pluginspecs_pad.h"
@ -137,6 +147,9 @@ extern std::vector<InputCommon::CONTROLLER_INFO> joyinfo;
#ifdef _WIN32
extern HWND m_hWnd; // Handle to window
#endif
#if defined(HAVE_X11) && HAVE_X11
extern Display* WMdisplay;
#endif
// Custom Functions