Miklvzi 310 Redux and FSUIPC

Locked
jabloomf1230
Posts: 14
Joined: Tue Jan 06, 2015 11:29 pm
Miklvzi 310 Redux and FSUIPC

Post by jabloomf1230 » Fri Apr 13, 2018 5:09 pm

I'm running the latest versions of P3d4, FSUIPC5 and the SP3.3 version of the C310 Redux. I have a number of buttons and switches assigned via FSUIPC for my Thrustmaster Warthog controller. Unfortunately, the switches assigned for landing lights and autopilot on and off do not work with the C310. The autopilot I can understand, as this probably requires a LUA script. But the landing lights switch works with every other P3d aircraft that I've tried. Every other joystick assignment via FSUIPC works with the C310 and that includes the taxi lights toggle. It's a very minor flaw in an otherwise incredible aircraft simulation.

The settings in FSUIPC5.ini are and neither of these work:

10=P0,24,C65751,0 -{LANDING_LIGHTS_TOGGLE}-
11=U0,24,C65751,0 -{LANDING_LIGHTS_TOGGLE}-

or

10=P0,24,C6059,0 -{LANDING_LIGHTS_ON}-
11=U0,24,C6060,0 -{LANDING_LIGHTS_OFF}-

N4GIX
Posts: 1023
Joined: Mon Sep 06, 2010 3:47 pm
Re: Miklvzi 310 Redux and FSUIPC

Post by N4GIX » Fri Apr 13, 2018 6:50 pm

Look on the last page of the KAP140 manual for the info you need for hardware controls.

The mouse logic for the landing lights is as follows:

Code: Select all

	(M:Event) 'RightSingle' scmp 0 ==
	if{ (L:SwitchLL, enum) -- 0 max (>L:SwitchLL, enum) }
	(M:Event) 'LeftSingle' scmp 0 ==
	if{ (L:SwitchLL, enum) ++ 2 min (>L:SwitchLL, enum) }
	(L:SwitchLL,enum) 2 == if{ (>K:LANDING_LIGHTS_ON) }
	(L:SwitchLL,enum) 2 != if{ (>K:LANDING_LIGHTS_OFF) }
The landing light switch is three-position:
0 = off
1 = extend lights
2 = on

Essentially to make it a binary choice, you need only set the (L:SwitchLL,enum) from zero (0) to two (2). This will extend the light housings. You will need to also set the sim's default K:Event as above.

In other words send (>K:LANDING_LIGHT_ON) at the same time you set the switch to 2, and send (>K:LANDING_LIGHT_OFF) when the switch is set to 0.

jabloomf1230
Posts: 14
Joined: Tue Jan 06, 2015 11:29 pm
Re: Miklvzi 310 Redux and FSUIPC

Post by jabloomf1230 » Fri Apr 13, 2018 8:43 pm

Bill,

Thanks,

will do.

Jay


Locked

Return to “310 Redux Support Forum”