PAD: Remove Gamepad.h

Declarations were incompatible with Qt anyway.
This commit is contained in:
Stenzek 2022-12-28 15:05:25 +10:00 committed by refractionpcsx2
parent f0a7c41b81
commit ddf66056ec
5 changed files with 3 additions and 39 deletions

View File

@ -1,33 +0,0 @@
/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2020 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "common/WindowInfo.h"
#include "SaveState.h"
#include "Host.h"
s32 PADinit();
void PADshutdown();
s32 PADopen(const WindowInfo& wi);
void PADupdate(int pad);
void PADclose();
u8 PADstartPoll(int port, int slot);
u8 PADpoll(u8 value);
bool PADcomplete();
void PADconfigure();
s32 PADfreeze(FreezeAction mode, freezeData* data);
s32 PADsetSlot(u8 port, u8 slot);

View File

@ -41,7 +41,7 @@
#include "GS/GS.h"
#include "SPU2/spu2.h"
#include "StateWrapper.h"
#include "PAD/Gamepad.h"
#include "PAD/Host/PAD.h"
#include "USB/USB.h"
#include "VMManager.h"

View File

@ -23,7 +23,8 @@
#include "MemoryCardProtocol.h"
#include "MultitapProtocol.h"
#include "Config.h"
#include "PAD/Gamepad.h"
#include "Host.h"
#include "PAD/Host/PAD.h"
#include "common/Timer.h"
#include "Recording/InputRecording.h"

View File

@ -583,7 +583,6 @@
<ClInclude Include="IopGte.h" />
<ClInclude Include="MemoryCardProtocol.h" />
<ClInclude Include="MultitapProtocol.h" />
<ClInclude Include="PAD\Gamepad.h" />
<ClInclude Include="PAD\Host\Global.h" />
<ClInclude Include="PAD\Host\KeyStatus.h" />
<ClInclude Include="PAD\Host\PAD.h" />

View File

@ -2184,9 +2184,6 @@
<ClInclude Include="VMManager.h">
<Filter>System</Filter>
</ClInclude>
<ClInclude Include="PAD\Gamepad.h">
<Filter>System\Ps2\PAD</Filter>
</ClInclude>
<ClInclude Include="PAD\Host\KeyStatus.h">
<Filter>System\Ps2\PAD</Filter>
</ClInclude>