input/overlays: add option to lock overlay input to player one

This commit is contained in:
Megamouse 2023-06-26 21:42:37 +02:00
parent 9ecfecb83e
commit 7b64cd2a8e
7 changed files with 23 additions and 0 deletions

View file

@ -411,6 +411,9 @@ void pad_thread::operator()()
for (usz i = 0; i < m_pads.size() && !ps_button_pressed; i++)
{
if (i > 0 && g_cfg.io.lock_overlay_input_to_player_one)
break;
const auto& pad = m_pads[i];
if (!(pad->m_port_status & CELL_PAD_STATUS_CONNECTED))