February 27, 20233 yr Anyone? Looking for how to turn on and off the flashlight without using key bind. Have done the monitoring and some googling, but nothing shows up for me. Want to get a stream deck button that also work when MSFS is not in focus.
February 27, 20233 yr Commercial Member I don't think there is one. I can only find the key action "KEY_COCKPIT_FLASHLIGHT_ONOFF", but I'm not sure that those actions can be triggered internally. The AAO InGame Panel can be used to do Coherent.call and Coherent.trigger from within an RPN script, but I can't find any example that would indicate those commands can be used for this. Alternative 1: use the vJoy or ViGEm interfaces in AAO to send a virtual joystick button, and then bind the TOGGLE FLASHLIGHT to that input in MSFS. Alternative 2: use a script in AAO for the virtual keyboard key instead of the direct button binding - one that forces the focus on MSFS first, then sends the key press. This one works for me:(FOCUS:flightsimulator)·(SPLIT:100)·(VKD:56-184-164)·(VKD:38-166-76)·(SPLIT:100)·(VKU:38-166-76)·(VKU:56-184-164) But the scan codes may be different on your computer. Open the RPN editor, input the (FOCUS:flightsimulator)·(SPLIT:100) then press "insert VKey" button followed by "Alt" followed by "L" (you have to press the keys of the combo one after the other, not at the same time) Press "Add". Now test then save the script. Assign the script to an AAO action on the StreamDeck as K: scriptgroup-scriptname Edited February 27, 20233 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.