summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/ControllerList.m
diff options
context:
space:
mode:
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