From 13e08db872f4775ca23df12fcc03f1916ed9691e Mon Sep 17 00:00:00 2001 From: "SND\\ckain_cp" Date: Fri, 26 Jul 2013 09:59:05 +0000 Subject: 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 --- plugins/dfinput/pad.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/dfinput/pad.h') 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; -- cgit v1.2.3