Callback? What is it?
-
What is the basic definition of callback?
First let me say this, I am not asking this without having done some research. The problem is this. Google and the search on the forum here give tons of results for “callback.” In each case (hundreds of interesting but not quite understood article, posts, rants) the writer immediately jumps into the details assuming the reader understands the term. My problem is, within this context, I don’t have a clue what it means. I assume (based on some programing knowledge) it is a method which continuously validates the state of something. Through context clues, it seems like the something is a physical interface, like a button or switch, but in other cases, like the Dash1 (love that name BTW), it list every callback for each panel some things are just buttons so no need for a status check. I have read each of the following far enough to see that the term immediately jumps into usage with no explanation: BMS2.0 Manual (which is probably the closest thing to an explanation I’ve found), the BMS Dash1 and avionics manuals, of course, the seminal works of Kolbe, and even the Original F4 Manual (which apparently predates flight controllers because I can’t even find anything about joysticks! lol). All (sans the latter) jump right in to the details with no explanation. Its like explaining a rainbow to someone who is color blind…. “red… huh” “green… what’s that?” “blue… nod and smile” “purple… I give up!”
So… I welcome any input form a basic answer to a full blown technical description. Sarcastic jokes are even welcome at this point, as long as they are funny! LOL
-
In BMS a ‘Callback’ is the command that executes a button press or keystroke.
For instance, you want to cycle your landing gear. To do that, you need the command, “AFGearToggle”.
You can associate that ‘Callback’ with a HOTAS button/switch, a 3D cockpit button/Switch, or a keyboard command …. or all three (I DO have landing gear toggle on my HOTAS, as keyboard press and as a switch/handle in the 3D cockpit).
That, anyhow, is the layman’s description. If you’re looking for a more technical, programming description, maybe a dev can help you.
-
U press a key or button this calls back (callback) to falcon code and triggers an action if conditions are fulfilled.
-
Full info on keyfile, callbacks, etc… in [install folder]/User/Joystick/Generic/Kolbe/Falcon BMS keyfile manual.pdf