init default value for dfInput plugins
authoralexis-puska <a.puska@ile-noire.com>
Sat, 18 Jun 2016 12:53:31 +0000 (14:53 +0200)
committeralexis-puska <a.puska@ile-noire.com>
Sat, 18 Jun 2016 12:58:20 +0000 (12:58 +0000)
init default value for dfInput plugins

plugins/dfinput/main.c

index c3adedd..ee4625c 100644 (file)
@@ -58,9 +58,12 @@ void dfinput_activate(void)
 {
        PadDataS pad;
 
+       pad.portMultitap = -1;
+       pad.requestPadIndex = 0;
        PAD1_readPort1(&pad);
        select_pad(1);
 
+       pad.requestPadIndex = 1;
        PAD2_readPort2(&pad);
        select_pad(2);
 }