summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/ControllerList.m
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-08-23 20:48:39 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-08-23 20:48:39 +0000
commit1e052267fb32e68328c769bfde987bd382829dd5 (patch)
tree82cb7279c869321209563ce70119ce642629c4e1 /macosx/plugins/DFInput/macsrc/ControllerList.m
parent47d52dacd0e12e909bf91c9bd99478e6b90dbfec (diff)
downloadpcsxr-1e052267fb32e68328c769bfde987bd382829dd5.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@69887 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/ControllerList.m')
-rw-r--r--macosx/plugins/DFInput/macsrc/ControllerList.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/plugins/DFInput/macsrc/ControllerList.m b/macosx/plugins/DFInput/macsrc/ControllerList.m
index 5d67370a..578898c3 100644
--- a/macosx/plugins/DFInput/macsrc/ControllerList.m
+++ b/macosx/plugins/DFInput/macsrc/ControllerList.m
@@ -52,7 +52,7 @@ static int currentController;
/* NSDataSource */
- (int)numberOfRowsInTableView:(NSTableView *)aTableView
{
- return DKEY_TOTAL + (g.cfg.PadDef[currentController].Type == PSE_PAD_TYPE_ANALOGPAD ? 8 : -2);
+ return DKEY_TOTAL + (g.cfg.PadDef[currentController].Type == PSE_PAD_TYPE_ANALOGPAD ? 8 : -3);
}
static const NSString *LabelText[DKEY_TOTAL + 8] = {
@@ -72,6 +72,7 @@ static const NSString *LabelText[DKEY_TOTAL + 8] = {
@"Start",
@"L3",
@"R3",
+ @"Analog",
@"L-Stick Right",
@"L-Stick Left",
@"L-Stick Down",
@@ -98,7 +99,8 @@ static const int DPad[DKEY_TOTAL] = {
DKEY_SELECT,
DKEY_START,
DKEY_L3,
- DKEY_R3
+ DKEY_R3,
+ DKEY_ANALOG
};
+ (int)getButtonOfRow:(int)row