mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(360) Move 360 Xinput driver back to 360 dir
This commit is contained in:
parent
4b0d3620c7
commit
14eb5a53cb
@ -26,7 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <xbdm.h>
|
||||
#include "../../input/rarch_xinput2.h"
|
||||
#include "../../360/xinput_360_input.h"
|
||||
|
||||
#ifdef _XBOX
|
||||
#if defined(_XBOX1)
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "../driver.h"
|
||||
#include "../general.h"
|
||||
#include "../libretro.h"
|
||||
#include "rarch_xinput2.h"
|
||||
#include "xinput_360_input.h"
|
||||
|
||||
static uint64_t state[4];
|
||||
static unsigned pads_connected;
|
@ -14,10 +14,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __RARCH_XINPUT2_H
|
||||
#define __RARCH_XINPUT2_H
|
||||
|
||||
#ifndef _XBOX1
|
||||
#ifndef _XDK360_XINPUT2_H
|
||||
#define _XDK360_XINPUT2_H
|
||||
|
||||
enum {
|
||||
XINPUT_GAMEPAD_LSTICK_LEFT_MASK = 1 << 16,
|
||||
@ -31,7 +29,7 @@ enum {
|
||||
XINPUT_GAMEPAD_LEFT_TRIGGER = 1 << 24,
|
||||
XINPUT_GAMEPAD_RIGHT_TRIGGER = 1 << 25
|
||||
};
|
||||
#endif
|
||||
|
||||
#define DEADZONE (16000)
|
||||
|
||||
#ifdef _XBOX
|
@ -132,7 +132,7 @@ INPUT
|
||||
#if defined(HAVE_XINPUT_XBOX1)
|
||||
#include "../../xbox1/xinput_xbox_input.c"
|
||||
#elif defined(HAVE_XINPUT2)
|
||||
#include "../../input/xinput2_input.c"
|
||||
#include "../../360/xinput_360_input.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -42,7 +42,7 @@ enum
|
||||
};
|
||||
|
||||
#ifdef _XBOX
|
||||
#include "../input/rarch_xinput2.h"
|
||||
#include "../360/xinput_360_input.h"
|
||||
#endif
|
||||
|
||||
#if defined(__CELLOS_LV2__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user