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

    XInput support since 4.37.3

    Scheduled Pinned Locked Moved Joysticks & Input Devices
    19 Posts 12 Posters 1.0k Views 2 Watching
    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.
    • Sniper 0S Offline
      Sniper 0 @chihirobelmo
      last edited by

      @chihirobelmo Tutorial on this would be highly appreciated

      1 Reply Last reply Reply Quote 0
      • chihirobelmoC Offline
        chihirobelmo
        last edited by

        if you don’t want it but want to use joystick as DX device set g_bUseXInput 0 at User/Config/falcon bms.cfg
        else it works by default, just plug xinput gamepad and try it…

        P 1 Reply Last reply Reply Quote 0
        • chihirobelmoC Offline
          chihirobelmo
          last edited by chihirobelmo

          okay description detail from dev forum:

          UPDATE 2023/6/4

          1. Switch function changed: see RED font below.
          2. Now for XInput device functions are hardcoded. Means you can Plug & Play BMS with XBOX Controllers. You can disable this by g_bUseXInput. Note that you should not bind any callbacks to the XInput Controllers as they will be recognized as a separate XInput + DirectInput devices.

          #######################################################################

          I know it’s best to have a good HOTAS setup for BMS.
          But I came up with an idea to make new callbacks that work differently with 2 modifier keys combinations.

          • SimAltHotasTMSShift
          • SimAltHotasDMSShift
          • SimAltHotasUp
          • SimAltHotasDown
          • SimAltHotasLeft
          • SimAltHotasRight
          • SimAltHotasAlpha
          • SimAltHotasBravo
          • SimAltHotasXray
          • SimAltHotasYankey

          I’ve found there are several guys love VR flight games like VTOL:VR or in VRChat not having HOTAS or only having HOTAS.X but interested in BMS.
          This way some reasonable joystick user can help his HOTAS setup…or even XBOX controller users can try BMS…then consider upgrading HOTAS.

          |  | (NO SHIFT) | SimAltHotasTMSShift(*1) | SimAltHotasDMSShift(*1) | (TMS+DMS) |
          | SimAltHotasUp | CURSOR UP | TMS UP | DMS UP | CMS UP |
          | SimAltHotasRight | CURSOR RIGHT | TMS RIGHT | DMS RIGHT | CMS RIGHT |
          | SimAltHotasDown | CURSOR DOWN | TMS DOWN | DMS DOWN | CMS DOWN |
          | SimAltHotasLeft | CURSOR LEFT | TMS LEFT | DMS LEFT | CMS LEFT |
          | SimAltHotasAlpha | SECOND TRIGGER | ANTENNA DOWN | COMM UHF | SPD BRK RETRACT |
          | SimAltHotasBravo | PICKLE | ANTENNA UP | COMM VHF | SPD BRK OPEN |
          | SimAltHotasXray | NWS | PINKY | COMM IFF OUT | WHEEL BRAKE |
          | SimAltHotasYankey | UNCAGE | NAV->DGFT->MRM->AG->NAV(*2) | COMM IFF IN | AP OVERRIDE |
          

          *1: Thsee 2 callbacks makes 4 status with:

          1. Not holding either of them
          2. Only holding TMS Shift
          3. Only holding DMS Shift
          4. Holding both

          and changes other SimAltHotas callback functions.

          *2 This is a new callback to cycle MODEs.

          UPDATE

          I’ve committed a new feature:
          Now BMS detects XInput while g_bUseXInput is enabled. (its enabled by default)

          Joysticks are DirectInput.
          Gamepads are XInput.

          • Note that you are not binding any callback or axis to the gamepad if you’d like to try this feature as XInput also detected as DirectInput at the same time.
            I made Gamepad(XInput) “Plug & Play” (means features are hard coded and no need to bind anything) and updated some axis handling more suitable for the gamepad.
          1. Left/Right trigger works as “throttle moving rate”, not absolute position.
          2. Throttle position stops at Buster if the trigger is held softly.
          3. Right thumb stick works as head tilt/pan

          I might add more updates later,
          future plans:

          1. Shows TMS/DMS Shift helper while holding the buttons. which shows which XYAB buttons execute what callback. (PR made)
          2. Shows Throttle Position helper while moving throttle via XInput. which shows the current throttle position. (PR made)
          3. Left Stick works as a rudder while NWS is on.
          1 Reply Last reply Reply Quote 2
          • Sniper 0S Offline
            Sniper 0
            last edited by

            I tried with Xbox controller and it works fine. Noticed a problem though, during ground mission using mavericks, the lock on tgp breaks, on using DMS down to make the weapons page SOI. Any help will be appreciated.

            1 Reply Last reply Reply Quote 0
            • chihirobelmoC chihirobelmo referenced this topic on
            • chihirobelmoC chihirobelmo referenced this topic on
            • P Offline
              Pike6709
              last edited by Pike6709

              It would be awesome if the switch between the right joystick being ‘look around’ and also being ‘mouse cursor’ could be a toggle instead of having to keep the right joystick held down.

              Maybe clicking in on the right joystick with the left bumper pulled could enable ‘mouse’ control?

              Or something else…

              Thoughts?

              1 Reply Last reply Reply Quote 1
              • AirShark 0A Offline
                AirShark 0
                last edited by

                I agree with Pike, is there a way to switch view rotation to the left analog, The right analog is less sensitive at least on my controller, more apropriate for pitch/roll than the left one. is there a config around?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  banyal
                  last edited by

                  🙌 I have just come back to Benchmark Sims after more than 10 years just because native controller support over XInput has now been included in release version 4.37

                  Fingers crossed. Scrambling now.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    raptor666
                    last edited by

                    Hi, would it be possible to download your pad config file?

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pike6709 @chihirobelmo
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • chihirobelmoC Offline
                        chihirobelmo
                        last edited by

                        fixed F-15C throttle not working. wait next version or hotfix

                        1 Reply Last reply Reply Quote 1
                        • D Offline
                          dekidejo
                          last edited by

                          Hello gents,

                          Just wondering if the following setup is possible - I have a warthog throttle and currently using an xbox360 controller as my ‘stick’ since the real stick died. So far the results are good as I can use the right stick on the controller in my right hand. So far the XInput was set to 0 and I could bind the x/y/a/b buttons to dms, trim etc (with the help of shift modifiers). Right bumper is for weapons pickle, right trigger for 2nd stage trigger. Works well for me. Recently I realised with XInput enabled that I get controller rumble effects which I quite like (well done!), however the button functions revert to hardcoded settings. The question is - is it possible to have a variation where XInput is disabled for all the buttons but vibration effects enabled? I understand it’s a unique situation but, nevertheless one should always ask 😉

                          Thanks, Deki

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Flyingfifnine
                            last edited by

                            Excuse me,I have a opentrack based on my laptop camera,and I fuond that the right joystick on xbox gamepad is invalid.So can I bind it(and pressing two joysticks) to other functions?

                            1 Reply Last reply Reply Quote 0
                            • Dakota 0D Offline
                              Dakota 0 @chihirobelmo
                              last edited by

                              @chihirobelmo Is there a way to modify the vibration settings on the controller? It vibrates constantly.

                              JockeyJ 1 Reply Last reply Reply Quote 0
                              • JockeyJ Offline
                                Jockey @Dakota 0
                                last edited by

                                @Dakota-0

                                You can add the commandline set g_bVibrateXInput 0 in your Falcon BMS User CFG file to disable the controller vibration.

                                1 Reply Last reply Reply Quote 0
                                • KarenK Offline
                                  Karen
                                  last edited by

                                  How to Disable XInput Mapping While Keeping Throttle Indicator? (Falcon BMS 4.37.7)
                                  I am trying to use a custom controller mapping in Falcon BMS 4.37.7 while retaining the in-game throttle position indicator (the visual bar). However, disabling XInput via set g_bUseXInput 0 in User.cfg removes both the default XBOX mappings and the throttle indicator… …
                                  Current Issue:
                                  · Throttle indicator only works if XInput is enabled (g_bUseXInput 1).
                                  · Disabling XInput (g_bUseXInput 0) hides the indicator, even with DirectInput axes properly calibrated.
                                  Any insights or workarounds would be greatly appreciated!

                                  airtex2019A 1 Reply Last reply Reply Quote 0
                                  • airtex2019A Offline
                                    airtex2019 Global Moderator @Karen
                                    last edited by

                                    @Karen I agree it’s a nice feature … on my list to make that separate from XInput, but not a top priority

                                    in meantime, [shift+3] will show the “SA bar” which has a throttle indicator (I think it’s mislabeled “rpm”) at least it works for single-engine jets… I think still broken, for dual engine

                                    there’s also external overlay apps like https://github.com/arithex/ThrottleOverlay/ (made by me, before I joined the dev team) … also only shows a single axis

                                    KarenK 2 Replies Last reply Reply Quote 0
                                    • KarenK Offline
                                      Karen @airtex2019
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • KarenK Offline
                                        Karen @airtex2019
                                        last edited by

                                        @airtex2019 Anyway, thank you very much for your contribution in the Xinput project, I’ve tried both options, the SHIFT+3 that comes with the game and the ThrottleOverlay project, and I look forward to separating the Throttle Indicator from the Xinput afterward, just like DCS.

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

                                        77

                                        Online

                                        9.3k

                                        Users

                                        19.3k

                                        Topics

                                        329.4k

                                        Posts
                                        Benchmark Sims - All rights reserved ©