Duke Turbine unlinked controls

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
Baobob
Posts: 15
Joined: 12 Oct 2011, 02:59

Duke Turbine unlinked controls

Post by Baobob » 04 Nov 2011, 21:56

Control the Duke Turbine??

So with LUA scripts I can assign hotkeys and controller buttons to the unlinked control objects in the RealAir Duke Turbine, but I need to know how to do that with xml (i'm guessing) in order to control them from HIDMacros and be able to map them to a unique keyboard.

Or is their just no way to access thise variables from outside FSUIPC?

An example LUA script snippet is here.

Code: Select all

	if ipcPARAM == 59 then	--	Down One Position
        LVarSet = "L:Duke_Cowl_Flaps_Switch_2"
		val = 2
		if ipc.readLvar(LVarSet) == 0  then
			val = 1
		elseif ipc.readLvar(LVarSet) == 1  then
			val = 2
		end
		ipc.writeLvar(LVarSet, val)
	end
Thanks for taking a look.
Bao
Fly Well,
Bao

"Getting it up there is all well and good. Lets just get it back down in one piece shall we?"

Post Reply