mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
input: move player_id to pad struct
This commit is contained in:
parent
6948c0a30a
commit
d23ac6f598
10 changed files with 31 additions and 29 deletions
|
|
@ -131,9 +131,9 @@ bool gui_pad_thread::init()
|
|||
cur_pad_handler->Init();
|
||||
|
||||
m_handler = cur_pad_handler;
|
||||
m_pad = std::make_shared<Pad>(handler_type, CELL_PAD_STATUS_DISCONNECTED, CELL_PAD_CAPABILITY_PS3_CONFORMITY | CELL_PAD_CAPABILITY_PRESS_MODE | CELL_PAD_CAPABILITY_ACTUATOR, CELL_PAD_DEV_TYPE_STANDARD);
|
||||
m_pad = std::make_shared<Pad>(handler_type, i, CELL_PAD_STATUS_DISCONNECTED, CELL_PAD_CAPABILITY_PS3_CONFORMITY | CELL_PAD_CAPABILITY_PRESS_MODE | CELL_PAD_CAPABILITY_ACTUATOR, CELL_PAD_DEV_TYPE_STANDARD);
|
||||
|
||||
if (!cur_pad_handler->bindPadToDevice(m_pad, i))
|
||||
if (!cur_pad_handler->bindPadToDevice(m_pad))
|
||||
{
|
||||
gui_log.error("gui_pad_thread: Failed to bind device '%s' to handler %s.", cfg->device.to_string(), handler_type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue