News:

Precision Simulator update 10.189 (5 August 2026) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

FSUIPC / SIOC / PSX throttles with reverse and flaps axis

Started by Blake H, Wed, 27 Aug 2014 20:22

Blake H

There doesn't seem to be a flap axis in PSX. You can use FSUIPC (FSX) to Nico's SIOC to PSX. That is what I have done in a round about way and work flawless.

You can even calibrate your joystick axis in FSUIPC

Var 0002, Link IOCP, Offset 2 // Code: Qh389 flap

Var 5000, Link FSUIPC_INOUT, Offset $0BDC, Length 4
{
IF V5000 < 1358
{
V0002 = 0
}
IF V5000 > 1359
{
V0002 = 1
IF V5000 < 4074
{
V0002 = 1
}
}
IF V5000 > 4075
{
V0002 = 2
IF V5000 < 6790
{
V0002 = 2
}
}
IF V5000 > 6791
{
V0002 = 3
IF V0500 < 9506
{
V0002 = 3
}
}
IF V5000 > 9507
{
V0002 = 4
IF V0500 < 12222
{
V0002 = 4
}
}
IF V5000 > 12223
{
V0002 = 5
IF V0500 < 14938
{
V0002 = 5
}
}
IF V5000 > 14939
{
V0002 = 6
}
}



You can watch a movie I made. FSUIPC to PSX flaps


https://onedrive.live.com/redir?resid=FEA72FDC9C4884CF%21270


Blake


HH edit: title more precise.

Blake H

#1
Have your joystick on the FSX computer

Just use the FSUIPC calibrate software in FSX tab add-on FSUIPC

The above demo is a SIOC script. The scripting is done on Nico's SIOC. Make sure you have a FSUIPC connection to FSX and a connection to PSX in SIOC.

The variable 0002 is not Nico's flap input to PSX just for my demo interface. You will have to use V1389

When tested. I will release the working script including throttles 1234 with reverse included.

But the above should work fine with a little Opencockpit SIOC DIY scripting.

kiek

Quote from: Blake HauswirthVar 5000, Link FSUIPC_IN, Offset $0BDC, Length 4
For the purists: The program does not write to this FSUIPC offset, so FSUIPC_IN will do. ;)

Nico

kiek

Quote from: Blake HauswirthThere doesn't seem to be a flap axis in PSX.
? I found one in the PSX Instructor Preferences  USB tab ...

I have assigned it to the Flaps lever of my GoFlight Throttle unit. Works well.

Nico

Will

The USB flap axis was added with 10.0.1-alpha 9.

See: http://aerowinx.com/forum/topic.php?post=19442#post19442
Will /Chicago /USA