X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfinput%2Fmain.c;h=ee4625cd3a02713bf3579465f1ed2bc3ff8355f4;hb=73d32d69496795050589cb845ddbd1a074ca3955;hp=f4a14faf617c50802a56b978014683c048e1d360;hpb=e8d96071f1a0b34b58647372b9d9976c5e397aba;p=pcsx_rearmed.git diff --git a/plugins/dfinput/main.c b/plugins/dfinput/main.c index f4a14faf..ee4625cd 100644 --- a/plugins/dfinput/main.c +++ b/plugins/dfinput/main.c @@ -15,9 +15,6 @@ #include #endif -#include -#include - #include "main.h" unsigned char CurPad, CurByte, CurCmd, CmdLen; @@ -56,20 +53,17 @@ static int old_controller_type1 = -1, old_controller_type2 = -1; } \ } -// case PSE_PAD_TYPE_NEGCON: \ -// PAD##n##_startPoll = PADstartPoll_negcon; \ -// PAD##n##_poll = PADpoll_negcon; \ -// negcon_init(); \ -// break; \ void dfinput_activate(void) { PadDataS pad; - int i; + pad.portMultitap = -1; + pad.requestPadIndex = 0; PAD1_readPort1(&pad); select_pad(1); + pad.requestPadIndex = 1; PAD2_readPort2(&pad); select_pad(2); }