Unsolved Forcing Launcher to use an axis input
-
@airtex2019 not that I can see, no. Anything in particular I should search for?
-
@Atlas no idea… hard to troubleshoot without having that device. I can’t think of any technical reason it would be recognized by BMS but not AL
-
@airtex2019 It is odd, but just as the 2D UI recognises key up/key down callbacks but the Launcher doesn’t… That’s why I’m asking is there any way to force the Launcher to use an axis input? Does the Launcher “save” it’s settings somewhere that can be edited?
-
@Atlas yeah the XML files
but (a) I have no idea if you hand modify those, will AL override it, if there’s something about that device it doesn’t like.
and (b) this is deep “swim at your own risk” unsupported, unchartered water… so I don’t advise that
-
@airtex2019 The Launcher overrides stuff… it must “remember” these settings from somewhere. If I can tell this “somewhere” to use Axis X on the Virtual Device, I think that would be the fix.
Or just stop using the Launcher and then re-map everything per the old method.
-
@Atlas yes I’m saying it remembers by storing those mappings in XML files in your Config folder
If you’re up to it, you could make a backup, assign some other axis… do a diff vs the backup, try cutting and pasting the axis mapping…
But I have no idea if that would actually work, and if it did, I’m not sure why / where the actual bug lies in AL code
-
@airtex2019 oh, so those XML files are the “somewhere”… okay, I’ll take a look.
-
@Atlas XML can be ugly and finicky but the AL stuff is pretty clear and straighforward… keep an eye out for a block which looks like this
<AxAssgn> <AxisName>HMS_Brightness</AxisName> <AssgnDate>2023-03-17T09:48:24.0255629-07:00</AssgnDate> <Invert>false</Invert> <Saturation>None</Saturation> <Deadzone>None</Deadzone> </AxAssgn>
(but remember as soon as one begins hacking around in the XML files, in you’re in swim-at-your-own-risk territory… make a backup of everything, first, and make no expectation that AL will continue to work reliably, if at all)
-
in parallel… I recommend taking a look with some diagnostic tool like VKB JoyTester to make sure the device is showing up and responding the way you expect. and it would be interesting to know the range and resolution of the HID axis. maybe there’s something weird about it that AL doesn’t like… but I truly have no idea what that might be
-
@airtex2019 It’s definitely working in 2D UI and when set, it works in the cockpit too. Obviously, setting it this way means I’ll have to reset it every time I start up BMS due to the Launcher overwriting the settings.