mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
evdev: add motion device
This commit is contained in:
parent
a3007e11ca
commit
829af30568
35 changed files with 1588 additions and 316 deletions
|
@ -178,11 +178,11 @@ void pad_thread::Init()
|
|||
{
|
||||
InitLddPad(pad_settings[i].ldd_handle);
|
||||
}
|
||||
else if (!cur_pad_handler->bindPadToDevice(m_pads[i], g_cfg_input.player[i]->device.to_string(), i))
|
||||
else if (!cur_pad_handler->bindPadToDevice(m_pads[i], i))
|
||||
{
|
||||
// Failed to bind the device to cur_pad_handler so binds to NullPadHandler
|
||||
input_log.error("Failed to bind device %s to handler %s", g_cfg_input.player[i]->device.to_string(), handler_type);
|
||||
nullpad->bindPadToDevice(m_pads[i], g_cfg_input.player[i]->device.to_string(), i);
|
||||
nullpad->bindPadToDevice(m_pads[i], i);
|
||||
}
|
||||
|
||||
input_log.notice("Pad %d: %s", i, g_cfg_input.player[i]->device.to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue