summaryrefslogtreecommitdiff
path: root/plugins/dfinput/pad.h
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 22:14:32 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 22:14:32 +0000
commit06f5ec54da4efb1383298da7c2d20805c5304dd1 (patch)
tree611d78f0d206b003c464d6151e90a1a12f8d0533 /plugins/dfinput/pad.h
parent1fcc3c79767d1cfdaabb14ae40a17399f0163ac6 (diff)
downloadpcsxr-06f5ec54da4efb1383298da7c2d20805c5304dd1.tar.gz
SDL2/SDL1.2 (Linux);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87020 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/pad.h')
-rwxr-xr-xplugins/dfinput/pad.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h
index f362a876..9e72bf88 100755
--- a/plugins/dfinput/pad.h
+++ b/plugins/dfinput/pad.h
@@ -36,7 +36,7 @@ extern "C" {
#include <SDL.h>
#include <SDL_joystick.h>
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
#include <SDL_haptic.h>
#endif
@@ -84,7 +84,7 @@ __private_extern__ char* PLUGLOC(char* toloc);
#define N_(x) (x)
#endif
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
extern int has_haptic;
#endif
@@ -186,7 +186,7 @@ typedef struct tagPadState {
volatile int8_t MouseAxis[2][2];
uint8_t Vib0, Vib1;
volatile uint8_t VibF[2];
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
SDL_Haptic *haptic;
#else
#ifdef __linux__