linuxgurugamer / ksp-advanced-flybywire

Controller mod for Kerbal Space Program
MIT License
27 stars 11 forks source link

Request: Support for on/off switches #49

Open JacobB094 opened 2 months ago

JacobB094 commented 2 months ago

Many modern high end HOTAS systems, such as Winwing Orion 2, feature switches that toggle between holding down two or three "buttons". AFBW's handling of that leaves much to be desired, everything that is pressed when a button is assigned gets counted as a button combo, effectively rendering the whole controller unusable.

I would like to request two features to that end: 1). Make button assignment ignore all inputs that were present prior to button assignment being commanded, so that only buttons pressed after opening the assignment window will count. 2). Implement a special handling method for such switches. Ideally, it would work similarly to holding the brakes, so that when a switch is toggled into the "on" position, the action is turned on, and when the "on" position is released, it is turned off.