Falcon BMS Forum
    • Register
    • Login
    • Search
    • Categories
    • Unread
    • Recent
    • Unsolved
    • Popular
    • Website
    • Wiki
    • Discord

    Wartog Target Hold problem

    Joysticks & Input Devices
    4
    8
    94
    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.
    • dureiken
      dureiken last edited by

      Hi

      I would like some help with my target profile :

      in other games, as DCS, I used HOLD function to keep a key presser, like the one to rotate view in cockpit or external view.

      In BMS, I use HOLD with SHIFT+NUM (4,8,6,2) to rotate view but when I press the hat key; the view rotates without stopping.

      I tried with changing SHIFT+NUM to ALT+ARROW Key, exactly the same

      In event tester of Traget it works, but not in BMS

      Could I have come help ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • Stubbies2003
        Stubbies2003 last edited by

        Linking to a very old subject that covers a command that might prove suitable for what you are wanting.

        https://www.benchmarksims.org/forum/showthread.php?18541-Sending-multiple-down-up-key-presses-during-button-hold

        dureiken 1 Reply Last reply Reply Quote 0
        • dureiken
          dureiken @Stubbies2003 last edited by

          Hum thanks

          do you know if we can convert a simple profile to script one ?

          thanks

          Shadow 1 Reply Last reply Reply Quote 0
          • Shadow
            Shadow @dureiken last edited by

            Your Trim/Hat will work by default as view pan.

            It does not need to be programed in target.

            dureiken 1 Reply Last reply Reply Quote 0
            • dureiken
              dureiken @Shadow last edited by

              I would like to use shift for trim

              		MapKeyIO(&Joystick, H1U,DXHATUP,PULSE+L_SHIFT+USB[0x60] ); 		// ** USB L_SHIFT+NUM UP **
              		MapKeyIO(&Joystick, H1D,DXHATDOWN,PULSE+L_SHIFT+USB[0x5a] );	// ** USB L_SHIFT+NUM DOWN **	
              		MapKeyIO(&Joystick, H1L,DXHATLEFT,PULSE+L_SHIFT+USB[0x5c] ); 	// ** USB L_SHIFT+NUM LEFT **
              		MapKeyIO(&Joystick, H1R,DXHATRIGHT,PULSE+L_SHIFT+USB[0x5e] );	// ** USB L_SHIFT+NUM RIGHT **
              

              but I don’t know how to use HOLD in target script editor

              thanks

              Stubbies2003 1 Reply Last reply Reply Quote 0
              • Stubbies2003
                Stubbies2003 @dureiken last edited by

                @dureiken:

                I would like to use shift for trim

                		MapKeyIO(&Joystick, H1U,DXHATUP,PULSE+L_SHIFT+USB[0x60] ); 		// ** USB L_SHIFT+NUM UP **
                		MapKeyIO(&Joystick, H1D,DXHATDOWN,PULSE+L_SHIFT+USB[0x5a] );	// ** USB L_SHIFT+NUM DOWN **	
                		MapKeyIO(&Joystick, H1L,DXHATLEFT,PULSE+L_SHIFT+USB[0x5c] ); 	// ** USB L_SHIFT+NUM LEFT **
                		MapKeyIO(&Joystick, H1R,DXHATRIGHT,PULSE+L_SHIFT+USB[0x5e] );	// ** USB L_SHIFT+NUM RIGHT **
                

                but I don’t know how to use HOLD in target script editor

                thanks

                The code I linked I use for aircraft trim and for antenna elevation. Works just fine.

                TeeSquare dureiken 2 Replies Last reply Reply Quote 0
                • TeeSquare
                  TeeSquare @Stubbies2003 last edited by

                  For press and hold functions, target doesn’t like shifted keys. It will do what you are experiencing and get stuck. Use an unshifted key or better yet, assign it a dx button.

                  1 Reply Last reply Reply Quote 0
                  • dureiken
                    dureiken @Stubbies2003 last edited by

                    Thanks a lot it works like a charm 🙂

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

                    100
                    Online

                    9.9k
                    Users

                    20.6k
                    Topics

                    343.3k
                    Posts

                    Benchmark Sims - All rights reserved ©