RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Progress on the X-Arcade Tankstick driver?

    Scheduled Pinned Locked Moved Help and Support
    drivertankstickx-arcade
    11 Posts 6 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      seank
      last edited by

      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

      J 1 Reply Last reply Reply Quote 0
      • J
        Jerkamie @seank
        last edited by

        @seank Ill try that. Are you using the drivers or as a keyboard keys?

        1 Reply Last reply Reply Quote 0
        • S
          seank
          last edited by

          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

          J 1 Reply Last reply Reply Quote 0
          • J
            Jerkamie @seank
            last edited by

            @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.

            mbolarisM 1 Reply Last reply Reply Quote 0
            • mbolarisM
              mbolaris @Jerkamie
              last edited by

              @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.

              S 1 Reply Last reply Reply Quote 0
              • S
                sauron_gorthaur @mbolaris
                last edited by

                @mbolaris Can you outline your modifications? Thanks..

                mbolarisM 1 Reply Last reply Reply Quote 0
                • mbolarisM
                  mbolaris @sauron_gorthaur
                  last edited by

                  @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);

                  1 Reply Last reply Reply Quote 1
                  • BuZzB
                    BuZz administrators
                    last edited by

                    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.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    mbolarisM 1 Reply Last reply Reply Quote 1
                    • mbolarisM
                      mbolaris @BuZz
                      last edited by

                      @BuZz Sounds like a good idea.

                      1 Reply Last reply Reply Quote 0
                      • J
                        JeremyXgaming
                        last edited by

                        Exit problem fixed here: https://support.xgaming.com/support/solutions/articles/5000554993

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.