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 15.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.
    • D
      dureq83 @Efriim
      last edited by

      @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
      • quicksilverQ
        quicksilver
        last edited by quicksilver

        @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 Reply Quote 0
        • D
          dureq83 @quicksilver
          last edited by

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

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @dureq83
            last edited by quicksilver

            @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

              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

                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

                  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 Reply Quote 1
                  • D
                    dureq83
                    last edited by

                    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!

                    EfriimE 1 Reply Last reply Reply Quote 0
                    • EfriimE
                      Efriim @dureq83
                      last edited by Efriim

                      @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

                        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

                          @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

                            25% seemed to work best for my size screen.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tuki_cat @dureq83
                              last edited by

                              @dureq83

                              Great, thanks.

                              What size screen do you have? It might then help me to pick a starting point

                              1 Reply Last reply Reply Quote 0
                              • D
                                dureq83
                                last edited by

                                32" LG 720p

                                EfriimE 1 Reply Last reply Reply Quote 1
                                • EfriimE
                                  Efriim @dureq83
                                  last edited by

                                  @dureq83
                                  I read somewhere that a candle shouldn't be used in place of the sensor bar. Do you think the sensitivity was part of the ambient light in the room?

                                  It looked a lot like the cursor dragging, but thinking about it now, the sensor was probably just identifying to the wrong light sources when it was taken off screen.

                                  Then again the analog setting was a solution so maybe it was drifting while it reached a determined maximum value.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by

                                    i have a wi mote that easy enough to map up in linux. Ill just need to get a sensor bar ill knock something when i get one. Ill make a bin for testing when i get round to it for people with aimtracks wiimotes doplhin bars ect.

                                    EfriimE 1 Reply Last reply Reply Quote 0
                                    • EfriimE
                                      Efriim @grant2258
                                      last edited by

                                      @grant2258
                                      How do you map a wiimote? I have a motionPlus controller so maybe it is just difficult.

                                      If I sync it, it will show up and the buttons are there in jstest, but when I use it is identified as a keyboard in emulationstation and only the directional buttons work.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        grant2258 Banned
                                        last edited by grant2258

                                        really depends how you configure it and what you want to use it for in my case im only interested in two buttons and the ir sensor

                                        Wiimote.A               = BTN_A
                                        Wiimote.B               = BTN_B
                                        Wiimote.Dpad.X          = ABS_HAT0X
                                        Wiimote.Dpad.Y          = ABS_HAT0Y
                                        Wiimote.Minus   = BTN_SELECT
                                        Wiimote.Plus    = BTN_START
                                        Wiimote.Home    = BTN_MODE
                                        Wiimote.1               = BTN_X
                                        Wiimote.2               = BTN_Y
                                        

                                        should get you going not tested it obviously you can change the mapping any way you like

                                        for ir sensor add

                                        Plugin.ir_ptr.X = ABS_X
                                        Plugin.ir_ptr.Y = ABS_Y
                                        

                                        I know the ir sensor is working fine i tested it with my remote control just need to get a sensor bar if i ever get round to it

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          grant2258 Banned
                                          last edited by

                                          Well ive added light gun support to my wee mame 095 test core its not an official core very much beta for my personal use. when i get a sensor bar ill test it and let mark know if it works or not then he can decide if 2003 and plus will get light gun support if it does.

                                          1 Reply Last reply Reply Quote 1
                                          • G
                                            grant2258 Banned
                                            last edited by

                                            ok used two ir leds soldered to a usb cable to test the wii more doesnt work well unless you stand in the exact right place every time you defo need the cross hairs on. I dont see how the aimtrack will be much different unless the user uses the gun in the exact same position or calibrates it when the distance/height/player changes. Even changing people with different height would knock this out. Anyone with a aimtrack had much success without cross hairs on?

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