summaryrefslogtreecommitdiff
path: root/plugins/dfinput/pad.h
diff options
context:
space:
mode:
authorSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-26 09:59:05 +0000
committerSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-26 09:59:05 +0000
commit13e08db872f4775ca23df12fcc03f1916ed9691e (patch)
treec66601f85caab2ad0f7b78f3d4973d1fa9b1ae81 /plugins/dfinput/pad.h
parent6131285e0c96333cf10b7257441e54caae661cdf (diff)
downloadpcsxr-13e08db872f4775ca23df12fcc03f1916ed9691e.tar.gz
GTK/dfinput: added "prevent screensaver" feature. Makes ugly call to xdg-screensaver script which seems to be only sopisticated way of handling multiple screensaver backends.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86254 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/pad.h')
-rwxr-xr-xplugins/dfinput/pad.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h
index f7927214..f055d9a0 100755
--- a/plugins/dfinput/pad.h
+++ b/plugins/dfinput/pad.h
@@ -167,7 +167,8 @@ typedef struct tagEmuDef2{
typedef struct tagConfig {
uint8_t Threaded;
- uint8_t HideCursor;
+ uint8_t HideCursor;
+ uint8_t PreventScrSaver;
PADDEF PadDef[2];
EMUDEF2 E;
} CONFIG;
@@ -182,11 +183,11 @@ typedef struct tagPadState {
volatile uint16_t JoyKeyStatus;
volatile uint8_t AnalogStatus[ANALOG_TOTAL][2]; // 0-255 where 127 is center position
volatile uint8_t AnalogKeyStatus[ANALOG_TOTAL][4];
- volatile int8_t MouseAxis[2][2];
+ volatile int8_t MouseAxis[2][2];
uint8_t Vib0, Vib1;
volatile uint8_t VibF[2];
#if SDL_VERSION_ATLEAST(1,3,0)
- SDL_Haptic *haptic;
+ SDL_Haptic *haptic;
#else
#ifdef __linux__
int VibrateDev;