mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Qt/Input: use 1-n in the GUI instead of 1-(n-1)
I didn't look into evdev
This commit is contained in:
parent
91d834ce73
commit
6e323622a5
4 changed files with 6 additions and 6 deletions
|
@ -795,7 +795,7 @@ void pad_settings_dialog::ChangeInputType()
|
|||
case pad_handler::xinput:
|
||||
{
|
||||
const QString name_string = qstr(m_handler->name_string());
|
||||
for (int i = 0; i < m_handler->max_devices(); i++)
|
||||
for (int i = 1; i <= m_handler->max_devices(); i++) // Controllers 1-n in GUI
|
||||
{
|
||||
ui->chooseDevice->addItem(name_string + QString::number(i), i);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue