Jump to content
The simFlight Network Forums

PageUp per KeyCommand dont work


Recommended Posts

Hi Pete,

 

short Question:

 

can you tell me why

 

207=P2,2,K34,8 //PageDown (Eyepoint down)

works

and

206=P2,1,K33,8 //PageUp (Eyepoint up)

don´t work

 

With the Keyboard PageUp and PageDown both works very well.

 

My Log-File:

 

208406 System time = 15/09/2014 16:32:30, Simulator time = 06:20:51 (10:20Z)
[Continuation log requested by user]
Running inside Prepar3D v2 on Windows 8
Module base=64190000
   208422 LogOptions changed, now 40000000 00000001
   208422 [buttons] now profile-specific:
   208422    0=P0,12,C65752,0
   208422    7=P5,21,CL12:R,6
   208422    12=P5,30,CL12:R,10
   208422    12=P5,30,CL12:R,10
   208422    157=P3,14,C66372,0
   208422    180=R0,26,CL12:R,61
   208422    181=R0,25,CL12:R,62
   211281 Button changed: bRef=0, Joy=2, Btn=2, Pressed
   211281 [buttons.Aerosoft DHC-6 Series 300 Wheels] 207=P2,2,K34,8
   211281 SendKeyToFS(00000022=[PgDn], KEYDOWN) ctr=0
   211297 Sending WM_KEYDOWN, Key=34 (Scan code 81), Ctr=1
   211297 KEYDOWN: VK=34, Waiting=0, Repeat=N, Shifts=0
   211297 .. Key not programmed -- passed on to FS
   211391 SendKeyToFS(00000022=[PgDn], KEYUP) ctr=0
   211406 Sending WM_KEYDOWN, Key=34 (Scan code 81), Ctr=1
   211422 KEYUP: VK=34, Waiting=0
   212234 Button changed: bRef=0, Joy=2, Btn=2, Released
   212234 [buttons.Aerosoft DHC-6 Series 300 Wheels] 207=P2,2,K34,8
   213000 Button changed: bRef=0, Joy=2, Btn=1, Pressed
   213000 [buttons.Aerosoft DHC-6 Series 300 Wheels] 206=P2,1,K33,8
   213000 SendKeyToFS(00000021=[PgUp], KEYDOWN) ctr=0
   213016 Sending WM_KEYDOWN, Key=33 (Scan code 73), Ctr=1
   213016 KEYDOWN: VK=33, Waiting=0, Repeat=N, Shifts=0
   213016 .. Key not programmed -- passed on to FS
   213125 SendKeyToFS(00000021=[PgUp], KEYUP) ctr=0
   213141 Sending WM_KEYUP, Key=33 (Scan code 73), Ctr=1
   213141 KEYUP: VK=33, Waiting=0
   214109 Button changed: bRef=0, Joy=2, Btn=1, Released
   214109 [buttons.Aerosoft DHC-6 Series 300 Wheels] 206=P2,1,K33,8
   228219 LogOptions changed, now 00000000 00000001

 

Greetings

Ralf

Link to comment
Share on other sites

Hi Pete,

 

short Question:

 

can you tell me why

 

207=P2,2,K34,8 //PageDown (Eyepoint down)

works

and

206=P2,1,K33,8 //PageUp (Eyepoint up)

don´t work

 

With the Keyboard PageUp and PageDown both works very well.

 

No idea, sorry. Both are sent correctly as you can see. The rest is up to FS.

 

But why on Earth are you assigning keystrokes when you could assign direct to controls? Keystrokes are assigned in FS, so you are pressing a button for FSUIPC to look up in an assignments list so it can send a key to FS so it can look up the correct control in its own assignment list! See how inefficient that is? Why not just assign the button to the control in FSUIPC in the first place?

 

Pete

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.