mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
input: redesign pad profiles
This commit is contained in:
parent
41cfa6349a
commit
cad96cef72
28 changed files with 781 additions and 629 deletions
|
@ -89,7 +89,8 @@ void pad_thread::Init()
|
|||
|
||||
handlers.clear();
|
||||
|
||||
g_cfg_input.load(pad::g_title_id);
|
||||
g_cfg_profile.load();
|
||||
g_cfg_input.load(pad::g_title_id, g_cfg_profile.active_profiles.get_value(pad::g_title_id));
|
||||
|
||||
std::shared_ptr<keyboard_pad_handler> keyptr;
|
||||
|
||||
|
@ -162,6 +163,8 @@ void pad_thread::Init()
|
|||
|
||||
m_pads_interface[i] = std::make_shared<Pad>(CELL_PAD_STATUS_DISCONNECTED, pad_settings[i].device_capability, pad_settings[i].device_type);
|
||||
*m_pads_interface[i] = *m_pads[i];
|
||||
|
||||
input_log.notice("Pad %d: %s", i, g_cfg_input.player[i]->device.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -287,6 +290,8 @@ void pad_thread::InitLddPad(u32 handle)
|
|||
return;
|
||||
}
|
||||
|
||||
input_log.notice("Pad %d: LDD", handle);
|
||||
|
||||
static const auto product = input::get_product_info(input::product_type::playstation_3_controller);
|
||||
|
||||
m_pads[handle]->ldd = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue