Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FSUIPC Reverse for a button?

Featured Replies

 

Beautiful! That's the one. I didn't notice the left hand side where you can assign button press to key press. Thanks!

Regards,

Max    

(YSSY)

i7-12700K | Corsair Vengeance LPX 64GB 3600MHz DDR4 | Gigabyte RTX4090 24Gb | Gigabyte Z690 AORUS ELITE DDR4 | Corsair HX1200 PSU

 

Hello

That is true, but you will have a much better time of it with Fsuipc

better control over your axis controls, access to many FS controls that are not in the FSX dialog, individual profiles for all your aircraft automatically loaded, mouse macro programming, conditional button presses, lua capability, variable response curves for your axis and to many other features to mention.

 

Or you could stick to the FSX dialog and be severely limited with the same control inputs for every aircraft.

 

Indeed, but all you are talking about is one button press for a simple function. FSX settings can achieve that with aplomb. Is it possible to use FSX settings just for your F2 assignment, and then FSUIPC for your fancy assignments? Not sure if you can do both.

For a bit more 'elegant' approach:

 

I use a couple of smal Lua scripts to implement reverse pitch, particularly on the

A2A B-377.

 

The scripts are activated by one of my 4 Saitek throttles being pulled back to

the detent, activating the switch.

 

The 1st script sends the "F1" keystroke to set all throttle to 'idle', then it

sends multiple "F2" keystrokes to 'pull' the 377 throttles back into full

reverse...I think it takes around 45 discrete F2's. (as opposed

to holding down F2 )

 

To exit reverse pitch I move the throttles forward out of detent. The

assigned detent switch action then activates the second script

which sends multiple "F3" keystrokes to move the 377 throttles

out of the reverse zone.

 

The A2A B-377 requires the use of the F1/F2/F3 sequence to

properly enter and exit the reverse pitch regime but these scripts,

or modifications thereof, should work for other aircraft as well.

 

Here are the two script files I use.

 

B377_RP.lua

i = 0
ipc.keypress(112)
ipc.sleep(250)
while i < 14 do
ipc.keypress(113)
ipc.keypress(113)
ipc.keypress(113)
ipc.sleep(50)
i = i + 1
end

 

B377_Exit_RP.lua

i = 0
while i < 15 do
ipc.keypress(114)
 ipc.sleep(50)
ipc.keypress(114)
ipc.sleep(50)
i = i + 1
end

 

The files, with the .lua extension simply go into your Modules folder

along with the other FSUIPC4 files. When FSUIPC4 is loaded, it will

see these files and add a menu item (actually several items) in the

Buttons + Switches assignment section. (See Mad Dog's post above

for that menu layout)

You can then assign them to any button or switch you wish using the

same procedure you use for any other normal FSX command.

 

Paul

 

 

Excellent as always, Paul. What is ipc.* command?

 

Not being a programmer, I've collected different scripts for my CH Combo over time for almost every specific need and listed all the examples in my own way conveniently to the point that I can almost say I've 'learnt' their scripting language, lol (thanks to the guys on ch-hangar.com).

 

Now I'm thinking of starting to collect luas and learn them in the process any suggestion/link where to start?

 

Much thanks,

Dirk.

Excellent as always, Paul. What is ipc.* command?

 

Not being a programmer, I've collected different scripts for my CH Combo over time for almost every specific need and listed all the examples in my own way conveniently to the point that I can almost say I've 'learnt' their scripting language, lol (thanks to the guys on ch-hangar.com).

 

Now I'm thinking of starting to collect luas and learn them in the process any suggestion/link where to start?

 

Much thanks,

Dirk.

 

Hello Dirk,

 

To answer your "ipc" question, from the Lua Library PDF file:

 

"The ipc library adds all of the facilities needed to interact with FS and FSUIPC"

 

Basically a set of commands to interact with the various hardware and software

elements in the FSX environment.

 

These documents, included with FSUIPC4 are the 'must read' files. The information

in the first PDF is not always obvious to the most casual observer but

reading, re-reading and experimentation will yield much insight into the

power and application of the FSUIPC4 capabilities. I am constantly

referring to these documents as I set up the switches, buttons and axis

for each new aircraft I add to my 'hangar' and have a pretty complex

arrangement that entails editing the FSUIPC4.ini file by hand due to my

use of multiple assignments for each button/switch (multiple 'modes'...as

many as 8 on some aircraft).

 

Anyhow, start with these three documents. Pete Dowson has a forum where he

provides support and can answer questions should you run into problems but

be SURE you have read the documentation first covering whatever area you are

asking about ^_^

 

FSUIPC4 for Advanced Users.pdf

Revised_List_of_FSX_Controls.pdf

FSUIPC Lua Library.pdf

 

Pete also supplies several sample lua scripts with FSUIPC4 and those can be

useful in the learning process. I downloaded the complete, free, Lua installation

primarily because it provides a nice editor that will do some checking of lua

scripts for some errors....format and such. I believe there is a link for the

download over on Pete's forum:

 

http://forum.simflig...dowson-modules/

 

There is a section of that forum dedicated to user inputs that contain many

lua scripts. Even if they don't exactly match your needs they may be helpful

in structuring your own scripts.

 

I've always been a 'learn by doing' kind of guy and have gained much of my

insight into FSX and the various tools by reading forums, reading documentation

and experimenting...'tweaking' things in order to learn how things work, or not! :o

 

Hope this helps!

 

Paul

Wide-5.jpg

Hello paul

Your two reverser scripts are now in use here, many thanks

Hello paul

Your two reverser scripts are now in use here, many thanks

 

You are most welcome. Glad to be able to help.

 

Paul

Wide-5.jpg

Thanks for the LUA road map, Paul!

 

Cheers,

Dirk.

You do know that you can program your throttle axis through FSUIPC for reverse thrust?

 

Is this only available with the payware version of FSUIPC4?

All of what has been discussed in this thread is only available in the payware version of FSUIPC. The software is invaluable and worth every penny!!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.