I shall try to explain my challenge a little better this time.
I have now the following in my FSUIPX config file:
96=P65,17,K79,8 // ( my EFIS VOR1/ADF1 hardware switch is switched to VOR1 pos and a O key is sent to NGX and VOR1 is selected)
97=U65,17,K79,8 //(my EFIS VOR1/ADF1 hardware switch is switched to middle pos from VOR1 pos and a O key is sent to NGX and ADF1 is selected, should be in the middle pos in the software aswell so another O key sent by FSUIPC is needed , therefore the second U press below(105 )
98=P65,19,K73,8
99=U65,19,K73,8
100=P65,18,K79,8 //(my EFIS VOR1/ADF1 hardware switch is switched to ADF1 pos and a O key is sent to NGX and VOR1 is selected, should be in the ADF1 in the software aswell so another O key sent by FSUIPC is needed , therefore the second P press below(101 )
101=P65,18,K79,8
102=P65,20,K73,8
103=P65,20,K73,8
104=U65,17,K79,8
105=U65,18,K79,8 //(my EFIS VOR1/ADF1 hardware switch is switched to middle pos from ADF1 pos and a O key is sent to NGX and middle pos is selected)
106=U65,19,K73,8
107=U65,20,K73,8
Logging result:
[Continuation log requested by user]
Running inside FSX on Windows 7 (using SimConnect Acc/SP2 Oct07)
Module base=61000000
Wind smoothing fix is fully installed
6177671 System time = 08/11/2011 14:00:36, Simulator time = 14:33:06 (12:33Z)
6197888 Button changed: bRef=0, Joy=65, Btn=17, Pressed
6197888 [buttons] 96=P65,17,K79,8
6197888 SendKeyToFS(0000004F=[O], KEYDOWN) ctr=0
6197888 [buttons] 97=U65,17,K79,8
6197888 [buttons] 104=U65,17,K79,8
6197888 Sending WM_KEYDOWN, Key=79 (Scan code 24), Ctr=1
6198013 SendKeyToFS(0000004F=[O], KEYUP) ctr=0
6198013 Sending WM_KEYUP, Key=79 (Scan code 24), Ctr=1
6198044 KEYUP: VK=79, Waiting=0
6199183 Button changed: bRef=0, Joy=65, Btn=17, Released
6199183 [buttons] 96=P65,17,K79,8
6199183 [buttons] 97=U65,17,K79,8
6199183 SendKeyToFS(0000004F=[O], KEYDOWN) ctr=0
6199183 [buttons] 104=U65,17,K79,8
6199183 SendKeyToFS(0000004F=[O], KEYDOWN) ctr=1
6199183 Sending WM_KEYDOWN, Key=79 (Scan code 24), Ctr=2
6199199 Sending WM_KEYDOWN, Key=79 (Scan code 24), Ctr=1
6199308 SendKeyToFS(0000004F=[O], KEYUP) ctr=0
6199308 Sending WM_KEYUP, Key=79 (Scan code 24), Ctr=1
6199339 KEYUP: VK=79, Waiting=0
6203442 Button changed: bRef=0, Joy=65, Btn=18, Pressed
6203442 [buttons] 100=P65,18,K79,8
6203442 SendKeyToFS(0000004F=[O], KEYDOWN) ctr=0
6203442 [buttons] 101=P65,18,K79,8
6203442 SendKeyToFS(0000004F=[O], KEYDOWN) ctr=1
6203442 [buttons] 105=U65,18,K79,8
6203442 Sending WM_KEYDOWN, Key=79 (Scan code 24), Ctr=2
6203458 Sending WM_KEYDOWN, Key=79 (Scan code 24), Ctr=1
6203567 SendKeyToFS(0000004F=[O], KEYUP) ctr=0
6203567 Sending WM_KEYUP, Key=79 (Scan code 24), Ctr=1
6203614 KEYUP: VK=79, Waiting=0
This looks OK from FSUIPC side
but the program receiving (PMDG NGX in this case) the keypresses sent by FSUIPC ( see log) doesn't reacts to the second repeating keypress sent. To me it seems like PMDG NGX need some time between the keypresses to detect 2 presses..
Is there a way to insert a delay between repeating U and P commands?
rgs