February 26, 20233 yr Hello, after a long time I tried again to set up AAO for my p3dv5.3! The assignment of the axis worked fine - only when setting up the keys I have a problem: In Chaseplane, for example, I assigned the keyboard key 'Num0' for the 'next view' event. If I now set up a key assignment in AAO and enter 'Num0' in the 'Virtual key' field, it seems to work for now ! When I press the corresponding joystick key - the corresponding key (in the AAO Gui) lights up in 'light green' - so AA0 seems to recognize everything... ...but unfortunately Chaseplane doesn't react at all and doesn't seem to understand the 'sent' command 'Num0' at all !?! (With FSUIPC everything works fine). Can I manage something like this with AAO at all ? What am I doing wrong ? Please for support regards ggerolamo kind regards, ggerolamo
February 26, 20233 yr Commercial Member 9 hours ago, ggerolamo said: Can I manage something like this with AAO at all ? Not sure. What version of AAO are you using? The virtual keyboard implementation changed over the years. AAO introduces the keyboard messages at a relatively low level. In general, only active app windows (= that have the Windows focus) can receive those events. So the keyboard press is probably not even reaching Chaseplane - or it is consumed by another app. The usual way to force this is to use RPN scripts for that. First force the app focus on your target with the FOCUS command, then send the appropriate VKD/VKU commands (which are using the actual scan codes from your keyboard - those are not exactly the same on every computer). Here is the example from the AAO manual: (FOCUS:littlenavmap) (SPLIT:100) (VKD:29-157-162) (VKD:56-184-164) (VKD:20-148-84) (SPLIT:100) (VKU:20-148-84) (VKU:29-157-162) (VKU:56-184-164) (SPLIT:100) (FOCUS:prepar3d) The VKD and VKU values are inserted into the script by clicking on the "Insert VKey" button and then pressing the appropriate key(s) on the following dialog. Also, make sure that what AAO shows you as Num_0 really is the event that you are expecting = make sure that CP has the focus by clicking on it, then press the Joystick button. Maybe it needs something else to go with it or you need to send the other keyboard key that is on the 0 ("Insert" on my keyboard) Is keyboard control the only thing that CP accepts? No joystick or gamepad buttons? And is it really CP that needs to receive this event or is this event routed through P3D, and it is actually the sim that you have to target (in the script)? (there is a method to grab the keyboard inputs from the sim with a SimConnect client, which makes sense in this case, because most of the time the sim will have the app focus) 9 hours ago, ggerolamo said: (With FSUIPC everything works fine). Then why bother with AAO at all? IMHO it is not a good idea to run two apps in parallel that are essentially doing the same thing. Edited February 26, 20233 yr by Lorby_SI LORBY-SI
February 26, 20233 yr Author Wow, thank you very much for the detailed answer ! I already thought that it will not be so easy 😉 1 hour ago, Lorby_SI said: Then why bother with AAO at all? IMHO it is not a good idea to run two apps in parallel that are essentially doing the same thing. I actually wanted to try to manage the axes and button assignment with AAO, because I like the clarity and user interface of the program very much ! Well, in this case I will have to stay with FSUIPC... regards ggerolamo kind regards, ggerolamo
February 26, 20233 yr Commercial Member 32 minutes ago, ggerolamo said: I already thought that it will not be so easy It is not hard either. Just try the RPN script approach, that is just a few clicks in the RPN editor and you can test it from there too. Is Chaseplane a separate exe or is it running as a DLL in P3D? If it is the former, FOCUS should target the CP process itself (name can be seen in the Windows Task Manager), if it is the latter, FOCUS must target "prepar3d" LORBY-SI
February 26, 20233 yr Author Ok, I have not really dealt with the RPN scripting - I could try it out when I feel like it 😉 In the meantime though, I'll be using FSUIPC (without scripting).... AAO I will use for sure for MSFS once this 'game' is mature enough for me .... Thanks again for your suggestion ! regards ggerolamo kind regards, ggerolamo
Archived
This topic is now archived and is closed to further replies.