mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 03:24:19 +01:00
OnePad: Fix multi-gamepad support
Can change the number of gamepad with the constant GAMEPAD_NUMBER in the onepad.h file
This commit is contained in:
1 parent
0b0e2a3f34
commit
de5f7f70e2
10 files changed
+41
-36
No files matched your search
@@ -23,7 +23,7 @@
|
||||
|
||||
void KeyStatus::Init()
|
||||
{
|
||||
for (int pad = 0; pad < 2; pad++) {
|
||||
for (int pad = 0; pad < GAMEPAD_NUMBER; pad++) {
|
||||
m_button[pad] = 0xFFFF;
|
||||
m_internal_button_kbd[pad] = 0xFFFF;
|
||||
m_internal_button_joy[pad] = 0xFFFF;
|
||||
|
||||
Reference in new issue
Block a user