[7.3-Beta29][FORK] Controler issue in emulators
-
@delferius said in [7.3-Beta29][FORK] Controler issue in emulators:
@davidb2111 I have only forward the interessant part of the file below. Tell me if you want the entire file.
<inputConfig type="joystick" deviceName="openjvs_a1p1" deviceGUID="000000006f70656e6a76735f61317000" deviceNbAxes="2" deviceNbHats="0" deviceNbButtons="8"> <input name="left" type="axis" id="0" value="1" code="0" /> <input name="down" type="axis" id="1" value="-1" code="1" /> <input name="right" type="axis" id="0" value="-1" code="0" /> <input name="up" type="axis" id="1" value="1" code="1" /> <input name="r1" type="button" id="5" value="1" code="261" /> <input name="l1" type="button" id="2" value="1" code="258" /> <input name="y" type="button" id="0" value="1" code="256" /> <input name="x" type="button" id="1" value="1" code="257" /> <input name="b" type="button" id="3" value="1" code="259" /> <input name="a" type="button" id="4" value="1" code="260" /> <input name="hotkey" type="button" id="7" value="1" code="263" /> <input name="select" type="button" id="7" value="1" code="263" /> <input name="start" type="button" id="6" value="1" code="262" /> </inputConfig> <inputConfig type="joystick" deviceName="openjvs_a1p2" deviceGUID="000000006f70656e6a76735f61317000" deviceNbAxes="2" deviceNbHats="0" deviceNbButtons="8"> <input name="left" type="axis" id="0" value="1" code="0" /> <input name="down" type="axis" id="1" value="-1" code="1" /> <input name="right" type="axis" id="0" value="-1" code="0" /> <input name="up" type="axis" id="1" value="1" code="1" /> <input name="r1" type="button" id="5" value="1" code="261" /> <input name="l1" type="button" id="2" value="1" code="258" /> <input name="y" type="button" id="0" value="1" code="256" /> <input name="x" type="button" id="1" value="1" code="257" /> <input name="b" type="button" id="3" value="1" code="259" /> <input name="a" type="button" id="4" value="1" code="260" /> <input name="hotkey" type="button" id="7" value="1" code="263" /> <input name="select" type="button" id="7" value="1" code="263" /> <input name="start" type="button" id="6" value="1" code="262" /> </inputConfig>
I also try a full build with a clean output folder, in case it get corrupted...
Do you skip d-pad and fill only joystick section ?
-
@davidb2111 No I skip joystick (analog) part and fill dpad for openjvs a1p1/openjvs a1p2 controllers.
For 8bitdo SF30 I assign all inputs and it's the same issue. -
Fresh and clean build test of this morning. Always the same issue.
I make my current build from the master, I will try from 7.3-Beta 30. -
@davidb2111
Finally when I disable my openJVS driver, all work perfect, my emulate controller seem to enter in conflict with something.
For information, I had no issues with my driver on the 6.1.1 forked release :/. -
@davidb2111
When I select "Game library driver" instead of "automatic" driver in the ES controller settings my openJVS controller work as expected but not the 8bitdo SF30 controller. What exactly happen on usage of one or the other driver settings? -
I don't remember well. I think it's how the controller is processed:
- through SDL
- through udev
-
@davidb2111 Is there a way to solve my problem? In the 6.1.1 version all worked fine. What's exactly changed behind this driver setting?
-
There are so many components that changed since 6.1.1 I can't enumerate all of them: kernel, sdl, EmulationStation, python, ...
I did not catch the exact problem you have and I don't have that type of controller. This makes the resolution of the problem twice as hard, sorry.
First, what is OpenJVS? And how do you connect it to the card ?
-
@davidb2111
First, thanks for your help.OpenJVS is a python module to emulate Joypad from RS485 JVS arcade protocol.
My module talk to the arcade IO-board throught Serial connection and trigger inputs over uinput virtual joypad device.You can find the source code over here:
https://gitlab.com/gaper-private/openjvs/-/tree/python3All work perfect on emulation station. But when I want to used OpenJVS controller on emulator, I must select "Game library driver" instead of "automatic" driver in the ES controller setting.
I use 4 different joypads on my system:
8bitdo SF30
8bitdo M30
openjvs_a1p1
openjvs_a1p28bitdo controllers seem to work only with "System driver" and OpenJVS with "Game library driver". So I can't use 8bitdo and OpenJVS controllers at the same times (to play ninja turtle with 4 player for example).
To reproduce the issue you can use a python script with uinput library. If you want I can write it for you.
-