CAPTAIN SIM FORUM
767 Captain II (P3D4) >> 767 Captain II - General  >> Control Codes/FSUIPC
https://www.captainsim.org/forum/csf.pl?num=1599949320

Message started by Rosko on Sep 12th, 2020 at 10:22pm

Title: Control Codes/FSUIPC
Post by Rosko on Sep 12th, 2020 at 10:22pm
Hey all, took our the 763 for a quick test flight around the pattern at KATL, loving it so far but I’d really like to get my MCP buttons along with my lights etc. setup on my honeycomb yoke, throttle quad etc.  I see there’s not a LINDA module available yet and while I’m fairly decent technically, I was trying to “read” the buttons and failing miserably.  If anyone knows how to program say LNAV/VNAV type mcp buttons to a joystick panel and the knobs to my CH throttle switches I’d appreciate a quick tutorial.  I know for my 717/A320 I just input either the custom control number or rotor brake code into FSUIPC.  For the 767, I had a look at the SDK, but I got lost really fast. 

Title: Re: Control Codes/FSUIPC
Post by Kees on Sep 26th, 2020 at 11:55am
Hi

In the FSUIPC folder, make a macro file (.MCRO, eg. 767.MCRO).

Open it with Notepad and insert the folowing lines:


Code (]
[Macros):


1=L:KLID=Set


In the FSUIPC.ini add (if not there already the section and line:


[MacroFiles]
1=767


Now start P3D and go to FSUIPC. Select the tab "Buttons and switches".
If you want, select "Profile specific?".
- Push the wanted button on your button on your joystick
- Select beneath "Control send when button pressed": 767:L:KLID set
- Input the parameter: 1703011 (for LNAV) or 1703012 (for VNAV)

It now shoulld work

Kind regards,
Kees

Title: Re: Control Codes/FSUIPC
Post by Luke Kolin on Oct 4th, 2020 at 4:01pm
This does not seem to work for knobs, or there's something I'm missing. I'm trying to adjust the HSI range (P04_005_KN6) and I can read the LVAR just fine to get the state, but when attempting to write either 2604005 or -2604005 L:KLID to rotate the knob, there is no effect. The LVAR is being set correctly.

Does KLID work on rotary knobs?

Cheers

Luke

Title: Re: Control Codes/FSUIPC
Post by Knoblet on Oct 7th, 2020 at 3:31pm
Luke,

EFIS Range is a rotary switch with 6 positions not a rotary knob so try P04_005_KN6 = 0 for the first position: incrementing or decrementing for each position. L:KLID not required.

I use a Goflight MCPPRO and EFIS along with Goflight Interface Tool (GIT) from Pollypot Software which makes life a lot easier and have all buttons, switches, rotaries and displays all working correctly.

Norm

Title: Re: Control Codes/FSUIPC
Post by Luke Kolin on Oct 10th, 2020 at 2:23pm
You are an absolute life-saver! Thank you.. it all seems to work.

Cheers!

Luke

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.