diff options
| author | SND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-03-10 13:25:33 +0000 |
|---|---|---|
| committer | SND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-03-10 13:25:33 +0000 |
| commit | 8ee251f1379ffab7d0fd914429e834ae672afc57 (patch) | |
| tree | 0c1777bce792bc9e38931ab7c5aa2cd787c34f5a /plugins/dfinput/pad.h | |
| parent | 1b70fa81feaca1d699357e99a5718df50f400b65 (diff) | |
| download | pcsxr-8ee251f1379ffab7d0fd914429e834ae672afc57.tar.gz | |
Fixed issue #8061 (by darktjm).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64383 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/pad.h')
| -rw-r--r-- | plugins/dfinput/pad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h index 0362fdcb..0fbabbcd 100644 --- a/plugins/dfinput/pad.h +++ b/plugins/dfinput/pad.h @@ -77,6 +77,7 @@ enum { DKEY_CIRCLE, DKEY_CROSS, DKEY_SQUARE, + DKEY_ANALOG, DKEY_TOTAL }; @@ -119,6 +120,8 @@ typedef struct tagPadState { SDL_Joystick *JoyDev; uint8_t PadMode; uint8_t PadID; + uint8_t PadModeKey; + volatile uint8_t PadModeSwitch; volatile uint16_t KeyStatus; volatile uint16_t JoyKeyStatus; volatile uint8_t AnalogStatus[ANALOG_TOTAL][2]; // 0-255 where 127 is center position |
