Forums » Suggestions

More flexible support for analog axes

Sep 10, 2018 Pizzasgood link
Sometimes people have analog axes (e.g. the triggers on an xbox controller) that they want to bind to something digital, like a weapon. A while back I made the AnalogToDigital plugin to address this, but it's really the sort of functionality that should be in the game by default, preferably with some snazzy gui configuration screen. It should work by allowing the player to define a threshold for triggering the command. When the axis crosses it in one direction, the command is run. When it crosses it in the other direction, the command's inverse (if there is one) is run. There should also be an invert checkbox to reverse that behavior.

Note that while some commands use `+command` to engage and `-command` to disengage, it seems that others use `+command` and `+command 0`; this feature needs to either handle that gracefully or allow the user to define the inverse themselves.

I haven't played around with chord support, but it would be nice if this feature was compatible with that.
Sep 11, 2018 Wind Employment link
+1

This is my biggest gripe with the current control settings. Even without the pressure sensitivity for triggering two commands (maybe a feature to add to the new built-in multiclick *much better than chords*? The "chords" are hard coded and although you can change the action they do you cannot add custom "chords") if I bind something to an axis and press the button over 50% that action should occur. If I want to use my buttons to fly and my sticks to shoot, this should also be my prerogative.

Btw, thank you for the link, now I just need to retrain my muscle memory to fire and not roll :)
Sep 11, 2018 PaKettle link
Why thanks Pizza.
Sep 12, 2018 Xeha link
+1 i'd also like this, been flying VO lately with my RC stuff as "joystick" and had the same issue.
thanks for the plugin Pizzasgood, i'll have to try it :)