Jump to content
The simFlight Network Forums

wont repeat keypresses


Recommended Posts

hi

want a new spot view (either airborn or onground)

and I want to do a lot of Shft+Up in F11 view, to be exactly, 25

but it wont do this

it will not do more then 7-9

am I missing something?

no hurry

greets, mt

also

I have a slider with 2 ranges for Gear Up/Dwn:

20=CR,256

21=CR,B,-16384,-14303,66080,0

22=CR,B,-12666,16383,66079,0

any chance of putting a condition in there: 'when airborne'

the spot view:

;F11 0-view =W0366= 1_onground 0_airborn

56=CP(+A,10)A,0,K8,8 ;backspace

57=CP(+A,10)A,0,K32,10 ;ctrl space

58=CP(+A,10)A,0,K38,9 ;shft Up

59=CP(+A,10)A,0,K38,9

60=CP(+A,10)A,0,K38,9

61=CP(+A,10)A,0,K38,9

62=CP(+A,10)A,0,K38,9

63=CP(+A,10)A,0,K38,9

64=CP(+A,10)A,0,K38,9

65=CP(+A,10)A,0,K38,9

66=CP(+A,10)A,0,K38,9

67=CP(+A,10)A,0,K38,9

68=CP(+A,10)A,0,K38,9

69=CP(+A,10)A,0,K38,9

70=CP(+A,10)A,0,K38,9

71=CP(+A,10)A,0,K38,9

72=CP(+A,10)A,0,K38,9

73=CP(+A,10)A,0,K38,9

74=CP(+A,10)A,0,K38,9

75=CP(+A,10)A,0,K38,9

76=CP(+A,10)A,0,K38,9

77=CP(+A,10)A,0,K38,9

78=CP(+A,10)A,0,K38,9

79=CP(+A,10)A,0,K38,9

80=CP(+A,10)A,0,K38,9

81=CP(+A,10)A,0,K38,9

82=CP(+A,10)A,0,K38,9

or

;F11 0-view =W0366= 1_onground 0_airborn

56=W0366=1 CP(+A,10)A,0,K8,8 ;backspace

57=W0366=1 CP(+A,10)A,0,K32,10 ;ctrl space

58=W0366=1 CP(+A,10)A,0,K38,9 ;shft Up

59=W0366=1 CP(+A,10)A,0,K38,9

60=W0366=1 CP(+A,10)A,0,K38,9

61=W0366=1 CP(+A,10)A,0,K38,9

62=W0366=1 CP(+A,10)A,0,K38,9

63=W0366=1 CP(+A,10)A,0,K38,9

64=W0366=1 CP(+A,10)A,0,K38,9

65=W0366=1 CP(+A,10)A,0,K38,9

66=W0366=1 CP(+A,10)A,0,K38,9

67=W0366=1 CP(+A,10)A,0,K38,9

68=W0366=1 CP(+A,10)A,0,K38,9

69=W0366=1 CP(+A,10)A,0,K38,9

70=W0366=1 CP(+A,10)A,0,K38,9

71=W0366=1 CP(+A,10)A,0,K38,9

72=W0366=1 CP(+A,10)A,0,K38,9

73=W0366=1 CP(+A,10)A,0,K38,9

74=W0366=1 CP(+A,10)A,0,K38,9

75=W0366=1 CP(+A,10)A,0,K38,9

76=W0366=1 CP(+A,10)A,0,K38,9

77=W0366=1 CP(+A,10)A,0,K38,9

78=W0366=1 CP(+A,10)A,0,K38,9

79=W0366=1 CP(+A,10)A,0,K38,9

80=W0366=1 CP(+A,10)A,0,K38,9

81=W0366=1 CP(+A,10)A,0,K38,9

82=W0366=1 CP(+A,10)A,0,K38,9

Link to comment
Share on other sites

  • 2 weeks later...

want a new spot view (either airborn or onground)

and I want to do a lot of Shft+Up in F11 view, to be exactly, 25

but it wont do this

it will not do more then 7-9

am I missing something?

Sorry, I've no idea what this all means. What's F11 view, and what would 25 shift+ups do? And how do you mean "will not do more than 7-9"? FSX, FS9, FSUIPC? What are you programming where and how?

If you are trying to force keypresses faster than Windows can process them they tend to be merged by the recipient. Surely you are not using keypresses for an FS control use? That would be extremely inefficient and error prone. Always use FS controls to control FS. Keypresses are for other programs/addons which don't have controls assigned.

I have a slider with 2 ranges for Gear Up/Dwn:

20=CR,256

21=CR,B,-16384,-14303,66080,0

22=CR,B,-12666,16383,66079,0

any chance of putting a condition in there: 'when airborne'

Not sure why -- is this the equivalent of your copilot slapping your hand when you try to raise the gear on the ground? The aircraft has an interlock in any case and you'll get a warning beep for sure.

If you want to do programming trickjs on axes you'd have to either assigned those ranfges to virtual buttons, then program the buttons with condifitons, or use a Lua plugin.

the spot view:

;F11 0-view =W0366= 1_onground 0_airborn

56=CP(+A,10)A,0,K8,8 ;backspace

57=CP(+A,10)A,0,K32,10 ;ctrl space

58=CP(+A,10)A,0,K38,9 ;shft Up

59=CP(+A,10)A,0,K38,9

60=CP(+A,10)A,0,K38,9

61=CP(+A,10)A,0,K38,9

62=CP(+A,10)A,0,K38,9

63=CP(+A,10)A,0,K38,9

64=CP(+A,10)A,0,K38,9

65=CP(+A,10)A,0,K38,9

66=CP(+A,10)A,0,K38,9

67=CP(+A,10)A,0,K38,9

68=CP(+A,10)A,0,K38,9

69=CP(+A,10)A,0,K38,9

70=CP(+A,10)A,0,K38,9

71=CP(+A,10)A,0,K38,9

72=CP(+A,10)A,0,K38,9

73=CP(+A,10)A,0,K38,9

74=CP(+A,10)A,0,K38,9

75=CP(+A,10)A,0,K38,9

76=CP(+A,10)A,0,K38,9

77=CP(+A,10)A,0,K38,9

78=CP(+A,10)A,0,K38,9

79=CP(+A,10)A,0,K38,9

80=CP(+A,10)A,0,K38,9

81=CP(+A,10)A,0,K38,9

82=CP(+A,10)A,0,K38,9

...

That's absolutely awful! What on Earth are you trying to do?

First NEVER use keypresses when there are FS controls to do the job. For each one, FS is looking up the keypress in the FS assignments to see which control it is, then it sends the control itself. All those get into the same message queue. It becomes a right mess!

Second, work out what you want to do then find the best way to do it. If I understood what this was about, maybe I could advise.

Pete

Link to comment
Share on other sites

F11 is standard Spot View in FSX

some planes, when viewed from outside spot, more than others, have different results to View Up (Shft-UpArrow)

When flying, and switching to "F11",I want to be behind the plane with 1 button (approach) in Spot View (F11) (to chk flaps and gear down)

On touchdown, with that same button, I want to be Behind, and than Shft-UpArrow couple of times, to see the runway Exit

KingAir 350, when Shft-UpArrow x5 and I can see over the plane and see "1st exit"

unfortunately, with my new MD-11, I have to do 25x Shft-UpArrow to be at the exact same angle to see "1st exit" from behind and over the plane

that's what this is about

thx

mt

n.b. concerning your reply, I'll try the FS-code equivilent for Shft-UpArrow (View Up, I think), will take a while, waiting for my Q9550

Link to comment
Share on other sites

F11 is standard Spot View in FSX

some planes view more than others have different results to View Up (Shft-UpArrow)

Why not use the view Up control, instead of terribly inefficient and re-assignable keystrokes?

Now that I know you are using FSX, I would ask why you don't use its splendid camera facilities instead. You can set up your own cameras to do what you like, each with their own control/selector.

Ask around in the FSX forum. I'm sure someone there will show you the ropes. ;-)

Regards

Pete

Link to comment
Share on other sites

Why not use the view Up control, instead of terribly inefficient and re-assignable keystrokes?

I had no idea

now, I do

Now that I know you are using FSX, I would ask why you don't use its splendid camera facilities instead.

Good idea

I'll look into that

Can remember I looked into camera views when FSX was just released .. and too complicated, at the time

(and in too much of a hurry to go flying)

By now, indeed, fellow simmers must have figured it out

Thx

MT

Link to comment
Share on other sites

works

;F11 0-view =W0366= 1_onground 0_airborn

56=W0366=1 CP(+A,10)A,0,C65550,0 ;1x

57=W0366=1 CP(+A,10)A,0,C66530,0 ;66530 EYEPOINT_RESET

58=W0366=1 CP(+A,10)A,0,C65674,0 ;VIEW_FORWARD 65674

59=W0366=1 CP(+A,10)A,0,C65674,0 ;VIEW_FORWARD 65674

..

;F11 0-view =W0366=0_airborn

83=W0366=0 CP(+A,10)A,0,C66530,0 ;66530 EYEPOINT_RESET

THX

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.