batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

[X86][Linux][V38] Change USB port and order of button #12068

Open e-lefelle opened 2 months ago

e-lefelle commented 2 months ago

Batocera build version

38

Your architecture

X86_64

Your Graphic Processor Unit(s) (GPU)

Integrated

Issue description

I changed the order of my USB JoyPad after translate my PC Card in another bartop. I realize that my joystick 1 is now 2 and the 2 now 1. My ESC (HOTKEY) I the 9 button. Now if I use Daphne, I can esc to the game. For pinball, I have changed the order in the config. I think that my button to ESC is see as the 2 joypad. So, it doesn't recognize.

Detailed reproduction steps

Nothing else

Details of any attempts to fix this yourself

Nothing else

Details of any modifications you have made to Batocera.

i unplugg before all my cables.

Logs and data

No response

Tovarichtch commented 2 months ago

Not a bug, but a feature request. We are aware that the current order is kind of random: whatever boots first is the first device.

e-lefelle commented 2 months ago

Thanks. I understand but before build my new arcade game with the same electronic (same card, same controller, ...), I haven't this problem. Chance ? Before I plugged sometimes dolphin bar. Now, it's always.

e-lefelle commented 2 months ago

i have 2 Dragin Rise controlers. If I buy another type of controller, do you think that I can avoid this problem ? In Batocera we can define the number of controller. As they have a different ID, or GUID ...

nadenislamarre commented 2 months ago

in 39, the order is fixed according to the port number. just excha'ge the usb port to change the pad order

e-lefelle commented 2 months ago

I downloaded the last version (V39). But when I call Daphne for Dragon's Lair, it's impossible to quit with ESC (Hotkey) even I can play with my first controller. I specify that my HOTKEY is link with my first controller. it's still a problem with order of controller ?

Tovarichtch commented 2 months ago

You quit with hotkey and start, not just hotkey. Hypseus Singe is an emulator that requires ALT+F4 to quit.

e-lefelle commented 2 months ago

Yes, I know. But it doesn't works. HOTKEY + Start. It works for Mame but not for Daphne. It strange.