Xarcade 'Trio' P2 PinFlipper and P2 Start button issues
-
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.