X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fdfinput%2Fmain.c;h=4204b86ff19c77f0f5e40f6dd2cebc70b0260ac1;hb=1bedbd6f272bd83af54c80eb0089ae1d6f4561a2;hp=f4a14faf617c50802a56b978014683c048e1d360;hpb=e8d96071f1a0b34b58647372b9d9976c5e397aba;p=pcsx_rearmed.git diff --git a/plugins/dfinput/main.c b/plugins/dfinput/main.c index f4a14faf..4204b86f 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,19 @@ 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) { + #ifndef HAVE_LIBRETRO 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); + #endif }