(360) Move 360 Xinput driver back to 360 dir

This commit is contained in:
twinaphex 2012-07-16 04:24:46 +02:00
parent 4b0d3620c7
commit 14eb5a53cb
5 changed files with 7 additions and 9 deletions

View File

@ -26,7 +26,7 @@
#endif #endif
#include <xbdm.h> #include <xbdm.h>
#include "../../input/rarch_xinput2.h" #include "../../360/xinput_360_input.h"
#ifdef _XBOX #ifdef _XBOX
#if defined(_XBOX1) #if defined(_XBOX1)

View File

@ -24,7 +24,7 @@
#include "../driver.h" #include "../driver.h"
#include "../general.h" #include "../general.h"
#include "../libretro.h" #include "../libretro.h"
#include "rarch_xinput2.h" #include "xinput_360_input.h"
static uint64_t state[4]; static uint64_t state[4];
static unsigned pads_connected; static unsigned pads_connected;

View File

@ -14,10 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __RARCH_XINPUT2_H #ifndef _XDK360_XINPUT2_H
#define __RARCH_XINPUT2_H #define _XDK360_XINPUT2_H
#ifndef _XBOX1
enum { enum {
XINPUT_GAMEPAD_LSTICK_LEFT_MASK = 1 << 16, XINPUT_GAMEPAD_LSTICK_LEFT_MASK = 1 << 16,
@ -31,7 +29,7 @@ enum {
XINPUT_GAMEPAD_LEFT_TRIGGER = 1 << 24, XINPUT_GAMEPAD_LEFT_TRIGGER = 1 << 24,
XINPUT_GAMEPAD_RIGHT_TRIGGER = 1 << 25 XINPUT_GAMEPAD_RIGHT_TRIGGER = 1 << 25
}; };
#endif
#define DEADZONE (16000) #define DEADZONE (16000)
#ifdef _XBOX #ifdef _XBOX

View File

@ -132,7 +132,7 @@ INPUT
#if defined(HAVE_XINPUT_XBOX1) #if defined(HAVE_XINPUT_XBOX1)
#include "../../xbox1/xinput_xbox_input.c" #include "../../xbox1/xinput_xbox_input.c"
#elif defined(HAVE_XINPUT2) #elif defined(HAVE_XINPUT2)
#include "../../input/xinput2_input.c" #include "../../360/xinput_360_input.c"
#endif #endif
#endif #endif

View File

@ -42,7 +42,7 @@ enum
}; };
#ifdef _XBOX #ifdef _XBOX
#include "../input/rarch_xinput2.h" #include "../360/xinput_360_input.h"
#endif #endif
#if defined(__CELLOS_LV2__) #if defined(__CELLOS_LV2__)