mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
USB: GunCon3 updates
-Process the mouse buttons even when x/y_max aren't yet determined. -Allows to start the calibration without shaking the mouse before. -Extend support to 4 players. The games can't use more than 2, but it allows more flexibility to mix DS3 and GC3. -Avoid OOB for unsupported Pads
This commit is contained in:
parent
58d27a9438
commit
a1d2a72a78
3 changed files with 16 additions and 8 deletions
|
|
@ -191,7 +191,7 @@ void pad_thread::Init()
|
|||
}
|
||||
|
||||
m_pads[i]->is_fake_pad = (g_cfg.io.move == move_handler::fake && i >= (static_cast<u32>(CELL_PAD_MAX_PORT_NUM) - static_cast<u32>(CELL_GEM_MAX_NUM)))
|
||||
|| (m_pads[i]->m_class_type >= CELL_PAD_FAKE_TYPE_FIRST && m_pads[i]->m_class_type <= CELL_PAD_FAKE_TYPE_LAST);
|
||||
|| (m_pads[i]->m_class_type >= CELL_PAD_FAKE_TYPE_FIRST && m_pads[i]->m_class_type < CELL_PAD_FAKE_TYPE_LAST);
|
||||
connect_usb_controller(i, input::get_product_by_vid_pid(m_pads[i]->m_vendor_id, m_pads[i]->m_product_id));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue