Add input handler for Xbox controllers

This commit is contained in:
Ryan Dortmans
2004-09-27 08:19:20 +00:00
parent 6bc4b6ab43
commit af8fb6751b
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ void MakeInputHandlers(vector<InputHandler *> &Add)
Add.push_back(new InputHandler_Win32_Pump);
// Add.push_back(new InputHandler_Win32_Para);
#elif defined(_XBOX)
// Add.push_back(new InputHandler_DInput);
Add.push_back(new InputHandler_Xbox);
#endif
#if defined(SUPPORT_SDL_INPUT)
+3
View File
@@ -7,12 +7,15 @@
#include "ArchHooks/ArchHooks_Xbox.h"
#include "InputHandler/InputHandler_Xbox.h"
/* Err, is SDL input working on Xbox? arch_default comments indicated no.
* (Best to use a custom driver for threaded input, anyway.) */
/* I believe it is working, and it's the only thing we depend on SDL for.
* I'll write an InputHandler so we can ditch the SDLXbox mess. -Chris */
#include "InputHandler/InputHandler_SDL.h"
#include "Sound/RageSoundDriver_DSound.h"
/* Undef this if you need no SDL input. */