XInput support since 4.37.3
-
since 4.37.3 BMS supports hard coded XInput support.
set g_bUseXInput 1
to enable (enabled by default).
Following image describes command assign (for 4.37.4, 4.37.3 maybe a bit different) -
@chihirobelmo Tutorial on this would be highly appreciated
-
if you don’t want it but want to use joystick as DX device
set g_bUseXInput 0
atUser/Config/falcon bms.cfg
else it works by default, just plug xinput gamepad and try it… -
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:
- Not holding either of them
- Only holding TMS Shift
- Only holding DMS Shift
- 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.
- Left/Right trigger works as “throttle moving rate”, not absolute position.
- Throttle position stops at Buster if the trigger is held softly.
- Right thumb stick works as head tilt/pan
I might add more updates later,
future plans:- Shows TMS/DMS Shift helper while holding the buttons. which shows which XYAB buttons execute what callback. (PR made)
- Shows Throttle Position helper while moving throttle via XInput. which shows the current throttle position. (PR made)
- Left Stick works as a rudder while NWS is on.
-
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.
-
C chihirobelmo referenced this topic on
-
C chihirobelmo referenced this topic on
-
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?
-
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?
-
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.
-
Hi, would it be possible to download your pad config file?
-
This post is deleted! -
fixed F-15C throttle not working. wait next version or hotfix
-
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
-
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?