mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Fix joy name
This commit is contained in:
parent
8875aefc71
commit
c3a037f7b6
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ class Input(QDialog, Ui_InputDialog):
|
|||
devices = [(self.tr("Keyboard/Mouse"), -1)]
|
||||
self.device_map[-1] = "Keyboard"
|
||||
for num, joy in enumerate(self.joystick.joystick_names):
|
||||
devices.append((self.tr("Joystick %s (%s)" % (num, joy.decode())), num))
|
||||
self.device_map[num] = joy.decode()
|
||||
devices.append((self.tr("Joystick %s (%s)" % (num, joy.encode().decode())), num))
|
||||
self.device_map[num] = joy.encode().decode()
|
||||
|
||||
for device, dtype in devices:
|
||||
self.comboDevice.addItem(device, dtype)
|
||||
|
|
Loading…
Add table
Reference in a new issue