Progress on the X-Arcade Tankstick driver?
-
Hello,
I am new to Retropie and I have a Tankstick + Trackball. I finally got some LR-Mame2003 roms and I had the problem of not being able to exit games as well. However, I discovered that pressing the player 1 button (start?) and the lower left pinball button (select?) that it will exit games. This is with the Tankstick set on mode 1 (standard PC keyboard?).
However, I am still can't get the trackball to work properly.
Don't know if this is of any help.
-Sean
-
@seank Ill try that. Are you using the drivers or as a keyboard keys?
-
I am not 100% sure how to answer that. I did not install any specific keyboard drivers. I have the Tankstick set to mode 1 which emulates a standard keyboard and mouse, as far as I know.
-Sean
-
@seank then you're not using the drivers for it that someone wrote. If you install the package you're trapped inside the game but it works much better.
-
@Jerkamie I got it working by modifying the xarcade2jstick driver so it doesn't do special handling to try and send a keyboard key for the select/player1(tab) or select/player2(esc) buttons. This allows the emulator button combos to work. For some reason, the keyboard codes sent from xarcade2jstick aren't working.
-
@mbolaris Can you outline your modifications? Thanks..
-
@sauron_gorthaur
In main.c modify the special case handlers for KEY_1, KEY_3, KEY_2, and KEY_4 to be just like the other buttons. For example, replace the code between "case KEY_1:" and "break;" with: uinput_gpad_write(&uinp_gpads[0], BTN_START,
xarcdev.ev[ctr].value > 0, EV_KEY); -
If this feature is more annoying than useful, I could fork the repository, and remove the functionality, or have it so it's enabled only if a certain parameter is passed.
-
@BuZz Sounds like a good idea.
-
Exit problem fixed here: https://support.xgaming.com/support/solutions/articles/5000554993
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.