-Fixed reading controller.ini when lines are separated by only a <line feed>

=Added Logitech Cordless Rumblepad 2 controller.ini (Thanks BravaCentauri)
=Added PDP Afterglow AP.1 Controller for PS3 controller.ini (Thanks BravaCentauri)
=Added Gioteck SC-1 controller.ini (Thanks Rockohoward)
This commit is contained in:
Howard_M_Busch@yahoo.com
2014-05-17 15:56:04 +00:00
parent 594fabdb89
commit 249f515e5c
9 changed files with 88 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
#define __NINTENDONT_VERSION_H__
#define NIN_MAJOR_VERSION 1
#define NIN_MINOR_VERSION 48
#define NIN_MINOR_VERSION 49
#define NIN_VERSION ((NIN_MAJOR_VERSION << 16) | NIN_MINOR_VERSION)

View File

@@ -0,0 +1,28 @@
[Gioteck SC-1]
VID=25f0
PID=83c1
Polltype=1
DPAD=1
Power=1,10
A=0,02
B=0,04
X=0,08
Y=0,01
Z=0,20
L=0,40
R=0,80
S=1,02
Left=2,06
Down=2,04
Right=2,02
Up=2,00
RightUp=2,01
DownRight=2,03
DownLeft=2,05
UpLeft=2,07
StickX=3
StickY=4
CStickX=5
CStickY=6
LAnalog=11
RAnalog=12

View File

@@ -0,0 +1,29 @@
[Logitech Cordless Rumblepad 2]
VID=046D
PID=C219
Polltype=1
DPAD=1
B=5,10
A=5,20
Y=5,40
X=5,80
L=6,04
Z=6,02
R=6,08
S=6,20
Power=6,40
Left=5,06
Down=5,04
Right=5,02
Up=5,00
RightUp=5,01
DownRight=5,03
DownLeft=5,05
UpLeft=5,07
StickX=1
StickY=2
CStickX=3
CStickY=4
LAnalog=0
RAnalog=0
DigitalLR=1

View File

@@ -0,0 +1,29 @@
[PDP Afterglow AP.1 Controller for PS3]
VID=1A34
PID=0836
Polltype=1
DPAD=1
B=5,01
A=5,02
Y=5,08
X=5,04
L=5,40
Z=5,20
R=5,80
S=6,02
Power=6,09
Left=7,06
Down=7,04
Right=7,02
Up=7,00
RightUp=7,01
DownRight=7,03
DownLeft=7,05
UpLeft=7,07
StickX=0
StickY=1
CStickX=2
CStickY=3
LAnalog=0
RAnalog=0
DigitalLR=1

View File

@@ -391,7 +391,7 @@ void HIDRumble( u32 Enable )
u32 ConfigGetValue( char *Data, const char *EntryName, u32 Entry )
{
char entryname[128];
_sprintf( entryname, "\r\n%s=", EntryName );
_sprintf( entryname, "\n%s=", EntryName );
char *str = strstr( Data, entryname );
if( str == (char*)NULL )

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 KiB

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.