• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Aimtrak gun loses alignment when I aim off the screen. <tag> Aimtrak <Tag>

Scheduled Pinned Locked Moved Help and Support
aimtrak
91 Posts 8 Posters 13.2k 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.
  • T
    tuki_cat
    last edited by tuki_cat 4 Dec 2019, 13:59 12 Apr 2019, 12:58

    The X is for the second player in light gun games that support a second player.

    Also, I have the same issue as you where the aimtrak is being used for both players, rather than just player one.

    1 Reply Last reply Reply Quote 0
    • D
      dureq83
      last edited by dureq83 4 Dec 2019, 14:07 12 Apr 2019, 12:59

      That makes sense, I just unbound all the player two inputs and no-longer have the 2nd crosshair trying to follow the 1st.

      T 1 Reply Last reply 12 Apr 2019, 13:53 Reply Quote 0
      • D
        dureq83
        last edited by 12 Apr 2019, 13:11

        Also, I've found that even if I mess with the Device_Mouse raw, event, lightgun, auto... etc every time I go to bind the gun's movement in the game's settings, it always shows as a joystick input not mouse. Just food for thought?

        1 Reply Last reply Reply Quote 0
        • T
          tuki_cat @dureq83
          last edited by 12 Apr 2019, 13:53

          @dureq83

          Hi dureq,

          Which file did you edit to unbind player 2 inputs?

          D E 2 Replies Last reply 12 Apr 2019, 14:01 Reply Quote 0
          • D
            dureq83 @tuki_cat
            last edited by 12 Apr 2019, 14:01

            @tuki_cat I loaded the game, hit TAB, and go to controls, I then went to player 2 and cleared the inputs for player2.

            1 Reply Last reply Reply Quote 1
            • E
              Efriim @tuki_cat
              last edited by Efriim 4 Dec 2019, 16:21 12 Apr 2019, 15:10

              @tuki_cat
              ~/.advance/advmame.rc
              input_map{p2}
              most of them are set to auto.

              the in-game config works too just hit the "TAB" key on a keyboard. I think it is press "Delete" key to clear entry.

              @dureq83
              using this
              /opt/retropie/emulators/advmame/bin/advm
              do you notice any absolute values, or is it always 0 and + - 1-9 and nothing like -255 in the far corner?

              I'm thinking.

              I need some sleep.

              D 1 Reply Last reply 12 Apr 2019, 20:58 Reply Quote 1
              • D
                dureq83
                last edited by 12 Apr 2019, 20:09

                I opened the file you suggested which is mostly in anscii characters and not readable, there were a few spots here in there with words but nothing relating to what you mentioned. It's Friday and I'll be off for the weekend, would you be interested in joining me in a Discord call and maybe bouncing some ideas back and forth?

                1 Reply Last reply Reply Quote 0
                • D
                  dureq83
                  last edited by 12 Apr 2019, 20:39

                  Also, I have an idea that I want to try in a minute. I'm not sure if this will help or not but it's worth a try. The lightgun is supposed to represent a mouse. What if I plug in a mouse, start the game, and then bind up, down, left, and right to the lightgun X + , X -, Y +, Y -. I'll then save the settings, turn off the pi and replace the mouse with the lightgun. The lightgun works as a mouse in the Pixel Desktop so I know it counts as a mouse. When I try to bind the lightgun in the game it shows as a joystick. Maybe if I purposely bind the X and Y axis with a real mouse and then connect the lightgun after that maybe the game will read the X and Y axis as it should?

                  1 Reply Last reply Reply Quote 0
                  • D
                    dureq83 @Efriim
                    last edited by 12 Apr 2019, 20:58

                    @Efriim I just tried to test my mouse in the game. I found this interesting and might actually be of a lot of help? When I hit tab and try to bring up the controls, I move my mouse up, down, left, and right but it doesn't detect it as movement so I can't bind the keys this way. Interesting twist though, I'm playing the game with the mouse and it goes up, down, left, and right without being bound. I decided to go into the controls for player 1 up, down, left, and right, and then unbind each. In addition I unbound player 1's lightgun Y -, Y +, X -, and X +, and yet the mouse still controls the cross hairs.

                    1 Reply Last reply Reply Quote 0
                    • Q
                      quicksilver
                      last edited by quicksilver 4 Dec 2019, 22:03 12 Apr 2019, 21:01

                      @dureq83 Just out of curiosity, when you calibrated your aimtrak, what option did you select for Tilt/Z correction? And what options did you select for enable buttons for off screen calibration?

                      D 1 Reply Last reply 12 Apr 2019, 21:06 Reply Quote 0
                      • D
                        dureq83 @quicksilver
                        last edited by 12 Apr 2019, 21:06

                        @quicksilver For the Tilt/Z corrections I have it set to None, I believe I tried all three early on but will check each again. My off screen calibration is set for my right side button which I don't use in the games I've tested.

                        Q 1 Reply Last reply 12 Apr 2019, 21:09 Reply Quote 0
                        • Q
                          quicksilver @dureq83
                          last edited by quicksilver 4 Dec 2019, 22:09 12 Apr 2019, 21:09

                          @dureq83 Have you tried contacting Ultimarc directly? They may be able to give some troubleshooting advice. My apologies if you already said earlier, I havent read through the entire thread.

                          1 Reply Last reply Reply Quote 0
                          • D
                            dureq83
                            last edited by 12 Apr 2019, 21:09

                            Yes, I contacted Andy with Ultimarc and he didn't know what might be causing the problem.

                            1 Reply Last reply Reply Quote 0
                            • D
                              dureq83
                              last edited by 12 Apr 2019, 21:12

                              I just unbound everything for player 1 up, down, etc, and light gun player 1 up, down, etc... and the light gun is still working, although still having the drifting problem. So if the keys are unbound then why is the light gun still working?

                              1 Reply Last reply Reply Quote 0
                              • D
                                dureq83
                                last edited by 12 Apr 2019, 21:25

                                I found something promising! I just launched Lethal Enforcers 2, unbound all the keys and found that the lightgun was still working. I then hit Tab in the game and brought up the game menu. I went into analog controls and turned the lightgun sensitivity down from 50% to 25% and now it's no longer drifting!! I'm going to find a good setting % and see if it fixes the problem!!!!!!!

                                T 1 Reply Last reply 13 Apr 2019, 08:26 Reply Quote 1
                                • D
                                  dureq83
                                  last edited by 12 Apr 2019, 21:45

                                  Great news! The issue lied in the Analog Controls portion of the in-game menu. I still don't know how the lightgun is working when I purposely unbound the light gun Y and X axis for -/+. I turned down the lightgun sensitivity and it corrected the issue.

                                  Now, I would like to thank everyone who added their input and helped me get to this resolution. Big thanks to Efrllm for sticking it out with me for over 60 posts!

                                  E 1 Reply Last reply 12 Apr 2019, 23:14 Reply Quote 0
                                  • E
                                    Efriim @dureq83
                                    last edited by Efriim 12 Apr 2019, 23:14

                                    @dureq83
                                    /opt/retropie/emulators/advmame/bin/advm this is a executable file, you call it directly and it will read controller events.
                                    I was stuck trying to understand what js/mouse event it wanted to use.

                                    That is great news, there were a lot of settings there, I would not have thought of this solution.
                                    You're welcome, I'm glad you didn't give up on it.

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned
                                      last edited by 12 Apr 2019, 23:28

                                      https://github.com/gunpadawan/gunconf setup util for linux you can set it as a mouse or joystick

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tuki_cat @dureq83
                                        last edited by 13 Apr 2019, 08:26

                                        @dureq83

                                        Hi dureq,

                                        Out of interest what setting did you find works well?

                                        Did you settle on 25%?

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dureq83
                                          last edited by 13 Apr 2019, 10:13

                                          25% seemed to work best for my size screen.

                                          T 1 Reply Last reply 13 Apr 2019, 11:00 Reply Quote 0
                                          74 out of 91
                                          • First post
                                            74/91
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received