summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-26 10:56:27 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-26 10:56:27 +0000
commit0f3ff4e34bd2e54f5f28ab6a03e0781bd28cc54b (patch)
tree75811f66e8d469b44d9f69b4085827a134532ae8 /plugins
parentc1a4d19177aa9afa74ede64614da8005144a2aa9 (diff)
downloadpcsxr-0f3ff4e34bd2e54f5f28ab6a03e0781bd28cc54b.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@33050 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfinput/cfg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/dfinput/cfg.c b/plugins/dfinput/cfg.c
index 8a012342..00ace414 100644
--- a/plugins/dfinput/cfg.c
+++ b/plugins/dfinput/cfg.c
@@ -218,14 +218,14 @@ void LoadConfig() {
g.cfg.PadDef[current].KeyDef[DKEY_SQUARE].Key = a;
g.cfg.PadDef[current].KeyDef[DKEY_SQUARE].JoyEvType = b;
g.cfg.PadDef[current].KeyDef[DKEY_SQUARE].J.d = c;
- } else if (strncmp(buf, "LeftAnalogX=", 11) == 0) {
- g.cfg.PadDef[current].AnalogDef[ANALOG_LEFT][ANALOG_X] = atoi(&buf[11]);
- } else if (strncmp(buf, "LeftAnalogY=", 11) == 0) {
- g.cfg.PadDef[current].AnalogDef[ANALOG_LEFT][ANALOG_Y] = atoi(&buf[11]);
- } else if (strncmp(buf, "RightAnalogX=", 12) == 0) {
- g.cfg.PadDef[current].AnalogDef[ANALOG_RIGHT][ANALOG_X] = atoi(&buf[12]);
- } else if (strncmp(buf, "RightAnalogY=", 12) == 0) {
- g.cfg.PadDef[current].AnalogDef[ANALOG_RIGHT][ANALOG_Y] = atoi(&buf[12]);
+ } else if (strncmp(buf, "LeftAnalogX=", 12) == 0) {
+ g.cfg.PadDef[current].AnalogDef[ANALOG_LEFT][ANALOG_X] = atoi(&buf[12]);
+ } else if (strncmp(buf, "LeftAnalogY=", 12) == 0) {
+ g.cfg.PadDef[current].AnalogDef[ANALOG_LEFT][ANALOG_Y] = atoi(&buf[12]);
+ } else if (strncmp(buf, "RightAnalogX=", 13) == 0) {
+ g.cfg.PadDef[current].AnalogDef[ANALOG_RIGHT][ANALOG_X] = atoi(&buf[13]);
+ } else if (strncmp(buf, "RightAnalogY=", 13) == 0) {
+ g.cfg.PadDef[current].AnalogDef[ANALOG_RIGHT][ANALOG_Y] = atoi(&buf[13]);
}
}