Alomon Posted January 6, 2018 Report Posted January 6, 2018 (edited) Hi, I have this configuration: Win10, P3Dv4.1, registered FSUIPC 5.122, iVap 2.0.2-b2773, VRinsight MCP Combo 1, Saitek yoke+rudder My installation is brand new as I re-installed everything recently, even twice due to the problem I am experiencing. Basically, my keypress assignment does not work when iVap is launched. Here are some logs to help you inderstand what happens: *** Without iVap *** * When pressing Shift+1 (effective) * 131890 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 131890 .. Key not programmed -- passed on to FS 131968 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=1 131968 .. Key not programmed -- passed on to FS 132156 *** EVENT: Cntrl= 65906 (0x00010172), Param= 0 (0x00000000) PANEL_1 132156 KEYUP: VK=49, Waiting=0 132156 KEYUP: VK=16, Waiting=0 * When pressing MCP button assigned to Shift+1 once (ineffective) * 260531 Button changed: bRef=0, Joy=258, Btn=16, Released 260531 [Buttons] 1=P258,16,K49,9 * When pressing MCP button assigned to Shift+1 a second time (effective) * 187547 Button changed: bRef=0, Joy=258, Btn=16, Pressed 187547 [Buttons] 1=P258,16,K49,9 187547 SendKeyToFS(00040031=[shft+1], KEYDOWN) ctr=0 187547 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 187562 Sending WM_KEYDOWN, Key=49 (Scan code 2), Ctr=1 187562 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 187562 .. Key not programmed -- passed on to FS 187562 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=1 187562 .. Key not programmed -- passed on to FS 187578 *** EVENT: Cntrl= 65906 (0x00010172), Param= 0 (0x00000000) PANEL_1 187672 SendKeyToFS(00040031=[shft+1], KEYUP) ctr=0 187672 Sending WM_KEYUP, Key=49 (Scan code 2), Ctr=2 187687 KEYUP: VK=49, Waiting=0 187687 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 187703 KEYUP: VK=16, Waiting=0 *** With iVap (external mode) *** * When pressing Shift+1 (effective) * 240906 KEYDOWN: VK=16, Waiting=0, Repeat=N, Shifts=1 240906 .. Key not programmed -- passed on to FS 241015 KEYDOWN: VK=49, Waiting=0, Repeat=N, Shifts=1 241015 .. Key not programmed -- passed on to FS 241031 *** EVENT: Cntrl= 65906 (0x00010172), Param= 0 (0x00000000) PANEL_1 241187 KEYUP: VK=16, Waiting=0 241187 KEYUP: VK=49, Waiting=0 * When pressing MCP button assigned to Shift+1 once (ineffective) * 260531 Button changed: bRef=0, Joy=258, Btn=16, Released 260531 [Buttons] 1=P258,16,K49,9 * When pressing MCP button assigned to Shift+1 a second time (ineffective) * 269359 Button changed: bRef=0, Joy=258, Btn=16, Pressed 269359 [Buttons] 1=P258,16,K49,9 269359 SendKeyToFS(00040031=[shft+1], KEYDOWN) ctr=0 269359 Sending WM_KEYDOWN, Key=16 (Shift) (Scan code 42), Ctr=2 269375 Sending WM_KEYDOWN, Key=49 (Scan code 2), Ctr=1 269468 SendKeyToFS(00040031=[shft+1], KEYUP) ctr=0 269468 Sending WM_KEYUP, Key=49 (Scan code 2), Ctr=2 269484 Sending WM_KEYUP, Key=16 (Shift) (Scan code 42), Ctr=1 I can't understand why this last action is ineffective. I have tried with LINDA, but I obviously get the same result. I am pretty sure iVap is guilty there, but I can't find how to solve this. I've only found this post which seems to be related: http://forum.simflight.com/topic/81775-button-to-keypress-mapping-not-working-p3d-v335fsuipc-v4955c/ Does anyone has an idea ? Thank you very much. Regards Edited January 7, 2018 by Alomon
Pete Dowson Posted January 7, 2018 Report Posted January 7, 2018 15 hours ago, Alomon said: I can't understand why this last action is ineffective. I have tried with LINDA, but I obviously get the same result. I am pretty sure iVap is guilty there, but I can't find how to solve this. It appears as if iVap it intercepting the Windows keyboard messages sent to the main Sim Window procedure, thus stopping the sim seeing them. FSUIPC does the same thing when you assign a keypress in FSUIPC. This, however, 15 hours ago, Alomon said: * When pressing MCP button assigned to Shift+1 once (ineffective) * 260531 Button changed: bRef=0, Joy=258, Btn=16, Released 260531 [Buttons] 1=P258,16,K49,9 is simply inaccurate. That shows the button being released, for which you have no assignment (the P on the assignment means "pressed"). Pete
Alomon Posted January 7, 2018 Author Report Posted January 7, 2018 (edited) Thanks Pete, Do you know why would iVap intercept those messages and how I could correct this behaviour? Regards Edited January 7, 2018 by Alomon
Pete Dowson Posted January 7, 2018 Report Posted January 7, 2018 4 hours ago, Alomon said: Do you know why would iVap intercept those messages and how I could correct this behaviour? Sorry, no, I've no idea about iVap. Have you tried asking on their support forum? Pete
Alomon Posted January 8, 2018 Author Report Posted January 8, 2018 I'll give it a try and let you know... Thanks.
Alomon Posted January 8, 2018 Author Report Posted January 8, 2018 (edited) I finally made it work: P3D was not run as administrator, it seems that it has to! Thanks anyway for your help and great work, Pete. Regards Edited January 8, 2018 by Alomon
Pete Dowson Posted January 9, 2018 Report Posted January 9, 2018 14 hours ago, Alomon said: P3D was not run as administrator, it seems that it has to! Was iVap running "as administrator"? Generally, either NOTHING should be run "as administrator", or everything related to it must be as well. Pete
Alomon Posted January 9, 2018 Author Report Posted January 9, 2018 Yes, iVap was running as admin, as instructed by IVAO team. And P3D was not running as admin, as I havn't read such insctruction. So with everything running as admin, it works well.
Pete Dowson Posted January 9, 2018 Report Posted January 9, 2018 20 minutes ago, Alomon said: Yes, iVap was running as admin, as instructed by IVAO team. And P3D was not running as admin, as I havn't read such insctruction I find it quite surprising anything about iVAP worked at all. Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now