From 1e052267fb32e68328c769bfde987bd382829dd5 Mon Sep 17 00:00:00 2001 From: "SND\\edgbla_cp" Date: Tue, 23 Aug 2011 20:48:39 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@69887 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/ControllerList.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFInput/macsrc/ControllerList.m') 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 -- cgit v1.2.3