December 30, 20214 yr Some commands in MSFS do not have a (working) event listed in the SDK. However, in MSFS one can assign a vJoy button to these commands. Is it possible to map a voice command to a (virtual) joystick button instead of an event? For my Streamdeck I am using this workaround to create a button to show the ATC window and flashlight but I would love to be able to do this by voice as well. Although I have purchased AAO a few months ago I am not using it, mostly because of these missing or undocumentend events in MSFS. Flightsim rig: CPU: AMD 5900x | Mobo: MSI X570 MEG Unify | RAM: 32GB G.Skill Trident Z Neo | GPU: Gigabyte RTX 3090 | Storage: M.2 (2 & 4 TB) | PSU: Corsair RM850x | Case: Fractal Define 7 XL Display: Acer Predator x34 3440x1440 | Speakers: Logitech Z906 Controllers: Fulcrum One Yoke | MFG Crosswind v2 pedals | Honeycomb Bravo Quadrant |Thrustmaster TCA Quadrant | Stream Deck XL & Plus | TrackIR 5 Tobii eye tracking
December 30, 20214 yr Commercial Member 4 hours ago, orchestra_nl said: Is it possible to map a voice command to a (virtual) joystick button instead of an event? No, only VJoy can do that. To create virtual joystick events, the app has to run as a joystick driver, that is not something that AAO can ever do. You can only map voice commands to virtual keyboard events (single buttons or combos) LORBY-SI
December 30, 20214 yr Author 2 hours ago, Lorby_SI said: You can only map voice commands to virtual keyboard events (single buttons or combos) Unfortunately that does not work either For some reason, when I setup a voice command it does not trigger the virtual key for MSFS. even when MSFS is the active window. When notepad is the active window, the virtual key is executed though. The same virtual key is working in MSFS when physical (other) key is being used though. A voice command mapped to a MSFS event works fine as well. so its just the voice command that is mapped to a virtual key that does not work, but that is just what I need for my ATC workaround. Flightsim rig: CPU: AMD 5900x | Mobo: MSI X570 MEG Unify | RAM: 32GB G.Skill Trident Z Neo | GPU: Gigabyte RTX 3090 | Storage: M.2 (2 & 4 TB) | PSU: Corsair RM850x | Case: Fractal Define 7 XL Display: Acer Predator x34 3440x1440 | Speakers: Logitech Z906 Controllers: Fulcrum One Yoke | MFG Crosswind v2 pedals | Honeycomb Bravo Quadrant |Thrustmaster TCA Quadrant | Stream Deck XL & Plus | TrackIR 5 Tobii eye tracking
December 30, 20214 yr Commercial Member 1 hour ago, orchestra_nl said: Unfortunately that does not work either For some reason, when I setup a voice command it does not trigger the virtual key for MSFS. even when MSFS is the active window. When notepad is the active window, the virtual key is executed though. The same virtual key is working in MSFS when physical (other) key is being used though. A voice command mapped to a MSFS event works fine as well. so its just the voice command that is mapped to a virtual key that does not work, but that is just what I need for my ATC workaround. Weird. I will take a look. Try using an RPN script instead, that you trigger with the voice command. In the script you first "(FOCUS:" MSFS and then send the VKD VKUs. To be safe, put (SPLIT:100) between the FOCUS command and the first VKD, and between the VKD and VKU groups. This is because MSFS sometimes doesn't "get" it, when the events are coming in too fast. Example (this is for the view change, just to give you an idea) (FOCUS:flightsimulator)·(SPLIT:100)·(VKD:56-184-164)·(VKD:6-134-53)·(SPLIT:100)·(VKU:6-134-53)·(VKU:56-184-164)· That being said, I could add a library to AAO so you can actually trigger vJoy events. I'm just not sure that I should - this seems so half-baked, as you still need vJoy running in the background? Also, minimize AAO - just to prevent it from stealing the focus. Edited December 30, 20214 yr by Lorby_SI LORBY-SI
December 31, 20214 yr Author 14 hours ago, Lorby_SI said: That being said, I could add a library to AAO so you can actually trigger vJoy events. I'm just not sure that I should - this seems so half-baked, as you still need vJoy running in the background? Also, minimize AAO - just to prevent it from stealing the focus. I agree that it is half-baked, but not so different from the virtual key option that is already in AAO. The real issue is that Microsoft has not made all events available to us so we need these workarounds. However, if virtual key's work like you suggested than there is already a way to work around the problem. I initially though of vJoy because I use it as a workaround for these missing MSFS events on my streamdeck. I will try using a RPN script in a few days and report back. Edited December 31, 20214 yr by orchestra_nl Flightsim rig: CPU: AMD 5900x | Mobo: MSI X570 MEG Unify | RAM: 32GB G.Skill Trident Z Neo | GPU: Gigabyte RTX 3090 | Storage: M.2 (2 & 4 TB) | PSU: Corsair RM850x | Case: Fractal Define 7 XL Display: Acer Predator x34 3440x1440 | Speakers: Logitech Z906 Controllers: Fulcrum One Yoke | MFG Crosswind v2 pedals | Honeycomb Bravo Quadrant |Thrustmaster TCA Quadrant | Stream Deck XL & Plus | TrackIR 5 Tobii eye tracking
September 1, 20223 yr Commercial Member I am working on an "outgoing" vJoy interface for AxisAndOhs version 2.51. The implementation is easy enough, and it seems to work OK. So you will be able to trigger virtual joystick events with AAO, in case you need this. Maybe not so much with MSFS (except for the camera events), but with this AAO could potentially be used with other games too, in Offline Mode. Edited September 1, 20223 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.