A new callback request for SPD BRAKE functionality.
-
@Atlas I have 3 buttons on the base of my cheapo stick.
1 => open incrementally, while held (AFBrakesOut)
2 => close incrementally, while held (AFBrakesIn)
3 …for the 3rd button I used to assign to toggle (AFBrakesToggle) but that is both unrealistic and error-prone, as everyone has already beat to death.
now I’ve changed the 3rd button to do what ewildcat suggested
onPress => AFBrakesOut
onRelease => AFBrakesToggle – because toggle always acts as auto-close when the brakes are > 0% openit’s sounds like nothing but it’s amazing what a little quality of life improvement that is (maybe just for those of us with cheapo hotas that don’t have a realistic locking speedbrake switch)
-
@airtex2019 This is brilliant, thank you for spelling it out.
At first I thought it would not be possible to make it work in AL, that it would require hand-editing the keyfile, but I set it up like shown here. My “DX8” button is the one I want to click (aka push and release) in order to do the “Close the airbrakes fully” command:
-
@jayb yep it’s a little obscure UX in Alt Launcher … to define a “onRelease” binding, click the button that says “Press” and it toggles to “Release”.
I should probably make that a proper toggle-button, eh
-
@airtex2019 Yeah, it’s kind of hidden but once you know Maybe mention it in the text where it talks about shift layer, although that is already a wall of text. UIs are hard !
-
@airtex2019 yes please, toggles in AL would be much appreciated.
-
@airtex2019 Good call, that incorporates what @Atlas is saying and removes most the chance for error! So horse is definitely dead now, I’ll take it if @boxer wants add a callback, but that should work too with more pressing things.
The magic of the on release option in AL is used on almost all my rotary switches and some of my DX based double throw switches since AL doesn’t away pick these up yet well. To me it’s not a UI problem, it’s an imagination issue of remembering you can do that, but maybe a toggle in the UI would help.
-
@Snake122 of course, point well made!
@airtex2019 ooohhh… you plebs with cheapo sticks!!
While that is a cool suggestion, you will have to keep the button pressed all the time for the brakes to work. If you map 1) AFBrakesOut and 2) AFBrakesOut, AFBrakesToggle, then you can keep the brakes open without holding the button and button 2 will guarantee a closed brake. Isn’t that better?I use the AL “Release” all the time with my 2-pos and 3-pos switches, that way a 2-pos switch only takes up one pin and a 3-pos switch only takes 2 pins! Whoever came up with that solution is an absolute genius!!
-
@Atlas actually @airtex2019 has the pleb stuff, the X65F is actually quite nice and all metal, gave the TM stuff a run for its money, just didn’t make a large splash in the market due to the force sensitive stick which of course is perfect for the Viper
His on release suggestion works great for me on a hat switch, open is incremental and a for sure close when I tap the open-to-close. Only trade off is that “close” does open at less a little and if I hold the “close” switch it does open further like normal. IIRC, AFBrakesOUT is fully out (I’ve been AL user since 4.35 so It’s been awhile with raw .key callbacks). I still want incremental out hence why I’m going with the AL “Brakes Open.”
-
@Snake122 I remember wanting the X65F due to that force sensing stuff back in the day but if it does not have a proper speedbrake switch implementation as you say, I find that quite interesting. I also remember really wanting the X45 back in my Allied Force flying days.
Of course, the final implementation of this would depend on user preference if a proper speedbrake switch is not available. That’s the beauty of toggle callbacks and switch state callbacks and programming software for our chosen HOTAS!
-
@Snake122 said in A new callback request for SPD BRAKE functionality.:
IIRC, AFBrakesOUT is fully out (I’ve been AL user since 4.35 so It’s been awhile with raw .key callbacks). I still want incremental out hence why I’m going with the AL “Brakes Open.”
it’s incremental. there are only 3 speedbrake callbacks that I know of … AFBrakesOut, AFBrakesIn, and AFBrakesToggle
the text description of AFBrakesOut says “Open” and AFBrakesIn says “Close”
they are both coded for activate-while-held … but AFBrakesToggle is coded for push-activation (not press-and-hold)
AFBrakesOut -1 0 0x30 1 0 0 1 "TQS: SPD BRAKE Switch - Open" AFBrakesIn -1 0 0x30 2 0 0 1 "TQS: SPD BRAKE Switch - Close" AFBrakesToggle -1 0 0x30 0 0 0 1 "TQS: SPD BRAKE Switch - Toggle"