Xarcade 'Trio' P2 PinFlipper and P2 Start button issues
-
Currently all my buttons using the xarcade2jstick driver seem to register when I look at jstest /dev/input/js0 and jstest /dev/input/js1, however, in JS1 buttons 8 and 9 will not activate. I press it down, nothing happens, but when I let go it quickly goes 'ON then Off' for a fraction of a second on player two buttons 8 and 9 only?!? I am 100% sure this is not a wiring issue as it acts fine on windows.
Has anyone had a issue with the xarcade2jstick?
-
this is the intended.
i would assume its to avoid complicated programming when adding in the combo keys, but personally i removed the part for the combo keys, cause i felt it was annoying not to be able to use these buttons for anything but the combos, cause (as you noted) these keys only register when released. -
This did not happen on the old board (non trio). Im not pro at this, is there a way I 'remove' this feature?
EDIT: I am looking at the main.src and the mentions of combo. I assume by deleting the if then and just leaving the !combo it will fix the problem.
-
i have no idea what you mean by "trio", this is written into the code so it would be relevant for anything using the keyboard 2 and 4 keys.
yes you can easily remove the part of the code that adds the combo keys, if you remove the version you installed with retropie install scripts.
yes, you just make it look similar to the other keys
-
The Xarcade sticks are using a newer encoder board than my old ones - its actually called 'Trimode' not trio, my bad. The Xarcade I had before worked fine with my image backup of my retropie install for it. I purchased a new xarcade stick and it wouldnt even recognize, I ended up having to update the xarcade2jstick driver this is when the problem started happening.
Im recompiling with your suggestion. Thanks for the help!
-
last edit to the combo keys was 2016/2017, but before that there was still combo keys, they were just changed to do a diffrent output ... not sure when you last version was from, but my assumption would be that you most likely had costimized the keys on your old board perhaps?
-
@Halvhjearne I think it said last update over three years ago when I loaded up the retropie-setup script so its pretty old since I updated! I think its kinda fixed, now when I hit the key it shows on off then stays on. Its an extra key press so it inserts two coins instead of one with that button assignment, buts thats fine with me at least it works as FBA was not recognizing the quick 'on' when letting go. Thanks for your help again.
-
@guruguys
did you remember to uninstall and completely remove the old version before installing the modified version?either you messed up when editing or you still have the olde one running.
it should look something like this:
case KEY_2: /* handle combination */ outputKeyPress(1,BTN_START, isPressed); case KEY_4: outputKeyPress(1,BTN_SELECT, isPressed); /* joystick */
-
@Halvhjearne The other keys work fine. Ill take a look to see if I have it running twice. I thought I uninstalled it, when I rebooted and emulation station popped up it said 'no controllers found' so I assumed the old was uninstalled. I then installed my edited version of xarcade2jstick and started the service, but perhaps it was just disabled and started two of them? I am no linux expert so learning on the fly here.
-
its hard for me to know what you did, but it sounds plausible if you did not go to the retropie setup script and completely remove the old version.
either way, you can check what you need to edit from what i just wrote ... just change everything in between those two comments.
-
@Halvhjearne Got it. Looks like it was not completely removed as you suggested. WIll start fresh and try again. Pretty sure Ill figure it out from here. The only think my code different is the 'break' command.
-
@guruguys said in Xarcade 'Trio' P2 PinFlipper and P2 Start button issues:
The only think my code different is the 'break' command.
thats your problem then ...
-
@Halvhjearne The original code has break; after every key, so I left it. The problem was indeed a service still running. The old service I have running was xarcade2jstick, the new one is Xarcade2Jstick. Not a linux expert, forget about case sensitivity :)
-
youre right, the break is needed ... sorry im tierd, but im glad you figured it out now
-
... from what i can read on this trimode pcb, it already has a (atleast one) gamepad mode using the switch on the back?
its hard to know for me as the link to the manual dosnt work, but if thats the case, then you should be able to just switch it to "gamepad" mode and remove Xarcade2Jstick.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.