thanks for you tests.
for the behavior you have i can explain.
if you start by plugging 4 mouses/keyboards before adding your pads, you should not have the behavior ;-)
it comes from a lazzy patch that i did.
when you plug let's say 3 pads A, B and C in a computer, not all emulators consider the same order, as a general rule, the order in which you plugged the pad is not the one that all emulators respects. One emulator can consider the order ABC while an other will consider the order BCA.
To resolve this issue, emulators are patched so that they use the same order as in es.
In my patch, i use the /dev/inputX order, which is more or less the order in which you plug your pads.
If you have a keyboard, and they add 2 pads, they will have the order :
- input1 : keyboard
- input2 : pad 1
- input3 : pad 2
if you unplug the keyboard and add a new 3rd pad, the new pad will use input1, so it will take the place 1 as a pad.
You case is a bit more complicated and here come my lazyness :
in your case,
pad 1 was input6
pad2 input 7
pad3 input 8
pad4 input 9
and then you plug pad 5...
it will be input10, and in fact, my order is not numerical, but alphabetical... input10 is before input6 (1 is before 6)
then you plug input 11 12 13 14, all are before input6 to 9.
Hope you understand the explanation. And you understand why pluging 4 keyboards/pads before doing the test willl solve.
Now, the question is : should i fix my patch ? or should we consider the order you plugged as not so interesting. if really needed, this order can be fixed in the es menu (except if you have several times the same pads).
What do you think should be done ?