Everything posted by kevinbuckley70
-
What do the AAO Stream Deck plugins actually execute?
All working now. Thanks so much for your quick help!
-
What do the AAO Stream Deck plugins actually execute?
Sorry, my misunderstanding.
-
What do the AAO Stream Deck plugins actually execute?
Looking at this. I'm guessing that I can't have a different script call depending on whether it is a short press or a long press? I was hoping to use 'short press' to cycle one way, and 'long press' to cycle back. Is the autoscript called on key up or key down?
-
What do the AAO Stream Deck plugins actually execute?
OK thanks. I'll look at that. Just for my curiosity, can you put a script formula in the event value box? Or must it just be a number?
-
What do the AAO Stream Deck plugins actually execute?
Thanks for the quick response. MultiGauge is the correct button type. I've looked at various 'professional' profiles but it has not helped me with my action. Basically, I want a single SD button to toggle through the various values of the C310R fuel selector with each press (actually one button for the left selector and one for the right selector). I can get the button image to change as I manually change the selector in the cockpit. The selector variable has the following values: 0-other tank, 1-main, 2-aux, 3-off. So I assume somewhere in the button definitions I can enter a formula to do this, which reads the current value and then conditionally sends a new value. Such as: (L:C310_SW_FUEL_SEL_LEFT,·enum)·2·!=·if{·2·(>L:C310_SW_FUEL_SEL_LEFT,·enum)·}·els{1·(>L:C310_SW_FUEL_SEL_LEFT,·enum)} This is a switch I have on my quadrant which toggles between main and aux. So my question is: in the SD MultiGauge button setup - would I put that formula in the key down variable box? Or the event value box? Or, do I just put the variable C310_SW_FUEL_SEL_LEFT in the variable box, choose L: from the side dropdown, then put something like this in the event value box: (L:C310_SW_FUEL_SEL_LEFT,·enum)·2·!=·if{·2·}·els{1·} I couldn't get that to work by the way. But maybe I got the syntax slightly wrong. Or maybe the sim times out by the time I finished entering it (which happens sometimes) or, or, or... There are many reasons why it might not have worked. Maybe just down to a small typo, or I put the wrong thing into the wrong box. It would be good to know if I am on the right track with this. My intention is then to use long press to cycle backwards through the four settings. Any help very much appreciated!
-
What do the AAO Stream Deck plugins actually execute?
As a follow up, is there a way to have three or more button images on the Stream Deck to show how a multiposition selector switch is currently set?
-
What do the AAO Stream Deck plugins actually execute?
I'm trying to understand how to do some things using the Stream Deck AAO plugin. Specifically, use an event or a switch, to both assign a value to a variable then execute a script statement, or to assign a value to a variable depending on the current state of the variable. I'm guessing what the plugin does, under the hood as it were, is to compile a script statement in the form: x (> y:variable) using the value in the value box for x, the value in the variable box for the variable and the value in the drop down box to select the variable type y. So, if that is correct, can I put any script items I want in the variable box as long as the first bit is just the name of the variable? Sorry if that's not clear!
-
Multi-key detection like ALT-H for example
Brilliant. Thanks for your help.
-
Multi-key detection like ALT-H for example
Thanks for the quick response. The other problem I am facing is that the two buttons I want to assign for SayIntentions actions are basically PTT buttons. So I want the StreamDeck to emulate holding a key down whilst I hold the button down on the StreamDeck and for that button hold to be passed to SayIntentions. I realise this is not actually an AAO problem! But I wasn't successful finding an easy answer to this on the StreamDeck forum, so I just wondered if you know how to do that.
-
Multi-key detection like ALT-H for example
I'm a bit further forward in my Streamdeck/AAO journey but now struggling to understand something. I'm trying to use the Streamdeck to control some functions of my aeroplane (Milviz C310R) via AAO and some other buttons to control the tour guide/mentor function, enable/disable and PTT in Sayintentions. So the Streamdeck simulated keypresses go to different destinations depending upon which button is pressed. Is that even possible? Whilst searching for answers to this, I heard about the AAO Streamdeck plugin. I'll take a look at that. Is that what I need to explicitly map some keys to AAO? Or is that just a VR panel?
-
Multi-key detection like ALT-H for example
Cool. I circumvented the problem by using CTRL-SHIFT which works fine and I found 14 characters which I can use directly or unbind from MSFS along with CTRL-SHIFT. If you fix the ALT problem that will be great. But for now, I have what I need. Thanks for the great response.
-
Multi-key detection like ALT-H for example
So I tried entering the ALT and J in sequence and, when pressing the ALT key, that correctly enters as LMENU. If I then press the J key, it enters J but gives a warning beep. If I save that key binding, when I hit ALT J I just get the beep and the script is not triggered. You can see this in the screen capture video here: https://1drv.ms/v/s!AmqUzCY4Oc9bgtISzE-nOkYA_wpKFQ?e=Z6J7Rk if I change ALT J to CTRL J, it works just fine. I have tried a handful of different ALT + key and they all give the beep and don't work. I thought maybe these ALT codes were maybe bound in MSFS and so denied access but I checked and picked some which aren't used in MSFS, and that's not the case. And even if a CTRL + key IS bound in MSFS, it doesn't stop AAO hooking it as well. Any ideas why AAO, or my installation, won't allow me to bind ALT keys?
-
Multi-key detection like ALT-H for example
Ah OK. I'll try that. Thanks.
-
Multi-key detection like ALT-H for example
If I try to enter ALT H as a keypress, as soon as I press ALT, it is recognised as a keypress itself immediately. Not a modifier to another keypress.
-
Multi-key detection like ALT-H for example
Does anyone know: in AAO, how to assign a combo keypress to a script activation. Such as ALT-H? I thought I knew but it seems I don’t. I assumed selecting the script as the Key Down Event, selecting Keyboard as the Device, putting ALT in the Assigned Combo box, with suppressed key-down, and H in the Assigned button/key box would do it. But it doesn’t.