Jump to content

Mysterious X52pro.lua


sharkfin61

Recommended Posts

Has anyone been able to get the X52pro.lua to work, yet? It`s located in the .. 1C\Eagle Dynamics\Ka-50\Scripts\X52pro folder.

What it does, is to change the colour of my X52pro buttons.

I guess it might be helpful to get some data output on the X52pro display.

Only readout I get by now is: "RULLEZ!!!! SAITEK DCS:BS"

 

Just have no clue how to export useful data out of the game...:cry:


Edited by sharkfin61

sharkfin out!

Support your local AirTransportWing !

Roal Bavarian Airforce all the way

NEW RIGRYZEN 7  5800X3D~ AORUS GTX 1080Ti ~ AORUS X570S Elite AX ~64 GB Corsair Venegance DDR-4 3600 ~ BeQuiet AIO Silent loop 2 360  watercooled ~ Samsung 890 Pro M.2 (2TB) + 870 EVO (1TB) SSD ~ WIN 10 64-bit ~ AOC 31.5" Gaming 144Hz Display ~ DelanClip@TrackIR 5 ~ TM Warthog no.2 ~Saitek rudder pedals~ 2 TM MFDs on 2nd 27"display ~ Buddyfox A-10 UFC ~ CDU/AAP panel via DCSBios ~ ARC-210 (soldering WIP)

 

Link to comment
Share on other sites

Try to change a page on display with the left wheel (http://forums.eagle.ru/showpost.php?p=553354&postcount=157).

 

http://forums.eagle.ru/showpost.php?p=552522&postcount=144 — profile for X52 Pro.

 

How about that file: …Ка-50/Scripts/Aircrafts/Ka-50/Cockpit/x52pro_device.lua?

 

local x52 = require('X52Pro')

function  on_device_change(device,added)
   dbg_print("device right way added\n")
   if  added then
       x52.direct_output.devices[device] = x52.DirectOutputDevice(device)
       local dev  = x52.direct_output.devices[device]
       local page = dev:new_page("first",true)
             page:set_string(0,"RULLEZ!!!!");
             page:set_string(1,"SAITEK");
             page:set_string(2,"DCS:BS");
             page:set_led(LED_COMPLEX_FIRE_A,LED_RED);
   else
       table.remove(x52.direct_output.devices,device)
   end
end

Or wait for the patch: http://forums.eagle.ru/showpost.php?p=545773&postcount=21


Edited by Namenlos Ein

Link to comment
Share on other sites

Thank you for your reply. Guess have to wait for the patch.:(

sharkfin out!

Support your local AirTransportWing !

Roal Bavarian Airforce all the way

NEW RIGRYZEN 7  5800X3D~ AORUS GTX 1080Ti ~ AORUS X570S Elite AX ~64 GB Corsair Venegance DDR-4 3600 ~ BeQuiet AIO Silent loop 2 360  watercooled ~ Samsung 890 Pro M.2 (2TB) + 870 EVO (1TB) SSD ~ WIN 10 64-bit ~ AOC 31.5" Gaming 144Hz Display ~ DelanClip@TrackIR 5 ~ TM Warthog no.2 ~Saitek rudder pedals~ 2 TM MFDs on 2nd 27"display ~ Buddyfox A-10 UFC ~ CDU/AAP panel via DCSBios ~ ARC-210 (soldering WIP)

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...