Controlling LEDs on the Logitech X52 Pro joystick in X-Plane with x52luaout

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 83

  • @juliashenandoah3965
    @juliashenandoah3965 4 ปีที่แล้ว +2

    I like the design, realistic and immersive LED-illumination and the beautyful brushed aluminum accents of this one :) truly a beautyful joystick.

  • @adamisko
    @adamisko 4 ปีที่แล้ว +9

    I hope you are going to buy Flight Simulator 2020 and you will do the same for it. I was always wondering why Saitek didnt promote his own SDK better.

    • @FlyingCoon
      @FlyingCoon 4 ปีที่แล้ว +1

      just orderd a x52 pro. Now I hope anyone is doing this for FS2020.

  • @mikem.2078
    @mikem.2078 4 ปีที่แล้ว +2

    Question for you, and I hope you can help or think of any information. I am thinking of getting an x52 Pro. I see in several advertisement type pictures that the LCD on the throttle portion has a readout of the Radio Stack Panel. However, my question is, does this x52 Pro throttle LCD and buttons allow you to change / modify / set radio frequencies by using the scroll buttons underneath the LCD, or is that LCD readout for *display* only? Reason is, if I can use the x52 Pro as also a Radio Stack adjustor, then I'm interested (so I don't have to buy separate radio stacks which cost over $150 US a piece, anyways). Thank you for reading.

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว +1

      Yes, you can use the scroll buttons to change radios or whatever is displaying on the LCD. X52luaout that I wrote does just this in addition to controlling the leds. X52luaout works only for X-Plane. Logitech provides plugins for various simulators, but these are much more limited than x52luaout. So, for any given simulator/game, you're dependent on an a plugin either from Logitech or any third party that might do what you want. The x52 pro joystick won't do it just out of the box.

    • @mikem.2078
      @mikem.2078 4 ปีที่แล้ว

      @@erkswede9807 Thanks. I guess I'm getting closer to purchasing an x52 Pro. I'm still new to all this, only got Xplane about two weeks ago, and have only flown with Cessna and Cirrus small jet. I still might be a little concerned that the LCD display on the throttle would fully cover all Coms (and "transponder", etc) needs, as some youtubers seem to have *multiple* radio stacks... It's quite neat that the X52luaout has various flashing lights as warnings, as I've forgotten to pull up landing gear (or put it down) a number of times... Are you saying that once I get the x52 Pro, that I should not install any other drivers or software and instead choose to go straight to x52Luaout? Another youtuber said the standard x52 driver was indeed important, but the Saitek/Log software created lots of problems for many people... Also, wondering, what does Luaout mean? Oh yah, I'm also wondering what is the middle marker warning (shown in your video at 2:18 and 4:52. Thanks. Good day.

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว +1

      @@mikem.2078 Going straight to x52luaout is indeed an option. You still need a driver installed of course. I've written about this in the documentation for x52luaout. Download it, unzip and look into the docs folder. X52luaout compared to the Logitech plugin can be summed up in flexibility. When the Logitech plugin decides for you which information in which pages should be visible on the LCD, x52luaout gives you the possibility to define any number of pages containing whatever information is available in X-Plane. Luaout is just a name, but it derives from Lua, which is the script language in which it's written (mostly), and out stand for output, referring the leds and lcd. What you see in the video about the middle marker is when my aircraft passes over a radio beacon on the ground that the plane detects and indicates to the pilot via an indicator on the panel and an audio signal. You should head over to forums.x-plane.org, lots of more people there to answer your questions.

  • @ardaucr
    @ardaucr ปีที่แล้ว

    is this in game plugin or just another exe file like driver ? and ı cant install maybe you should make a video to adjust this script and install it will be nice

  • @svenk.sorensen2121
    @svenk.sorensen2121 4 ปีที่แล้ว +1

    Hi erkswede. I just came across this video today, and I just can't believe my luck. What you have done with your script is exactly what I set out to do a couple of days ago - but without knowing if it could be done. Your video shows that it can!
    Alas, what you have done here only works for X-plane, but I can see that the command interface "passerelle" should work for FSX and P3D at least in 32 bit. This gives me hope that it should be possible to port to P3Dv4+ as well. Yes, I've seen that there is also something called FlyWithLua involved, and that may be a showstopper, but I still want to have a gio at it.
    Unfortunately, the x-plane.org forums seems to be down (does that happen a lot?), so I will have to wait for it to be able to catch a glimpse of your LUA code.
    BRGDS
    Sven Sorensen, EKCH

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว

      Hi Sven! I've actually moved away from Passerelle as that was dependent on the original driver/software from Logitech. Now I use a filter driver instead that givers me access to all joystick functions under windows as well.
      FlyWithLua is critical for this script. You need something similar for P3D/FSX. In X-Plane we have "datarefs" which essentially is a way to access variables inside X-Plane. These datarefs are both read and write which is necessary for X52LuaOut to work. FlyWithLua provides access to the datarefs and also a fully functional Lua interpreter/compiler. You need something similar to access variables inside P3D/FSX to port.
      The forums at forums.x-plane.org/ seems to be up again. Please use that for further communication, thanks.

  • @Omaemaru
    @Omaemaru 6 หลายเดือนก่อน

    Can this be done for other flight sims?

  • @omarionfoley
    @omarionfoley 4 ปีที่แล้ว +4

    hi, your link still available or valid cause i can't use your link
    sorry for my english im from paris

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว +1

      It should be valid. Seems like forums.x-plane.org/ is temporarily down.

  • @ArsenicShooter
    @ArsenicShooter 3 ปีที่แล้ว +1

    Wow nice! Thanks a lot!

  • @305motoriders2
    @305motoriders2 2 ปีที่แล้ว

    If you don't mind can you make a video on showing how you did that cuz all you're doing is showing how your control comes on and off

    • @erkswede9807
      @erkswede9807  2 ปีที่แล้ว

      This video is just an example of what you can do with the plugin X52LuaOut i wrote for X-Plane. The plugin can be found here: forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/

  • @mbeattie77
    @mbeattie77 4 ปีที่แล้ว

    Nice wire management

  • @Pr0masterExtreme
    @Pr0masterExtreme 2 หลายเดือนก่อน

    Just bought a x52 pro recently but i really didnt understand how to install and make this plugins work, its my first time with xplane and lua, can someone help me if possible?

  • @Little_Levnik
    @Little_Levnik 3 ปีที่แล้ว

    If I may ask, is the colour blue available on the X 52 pro?

    • @erkswede9807
      @erkswede9807  3 ปีที่แล้ว +1

      I'm afraid not, only red, green and amber. (Except for the mode switch LED which is hard coded red, purple and blue)

    • @Little_Levnik
      @Little_Levnik 3 ปีที่แล้ว

      @@erkswede9807 Ok, thank you!

    • @Little_Levnik
      @Little_Levnik 3 ปีที่แล้ว

      @@erkswede9807 Can you change the MFD colour as well? If yes, how?

    • @erkswede9807
      @erkswede9807  3 ปีที่แล้ว

      @@Little_Levnik Nope, the color is always green.

  • @laurensjordense9472
    @laurensjordense9472 5 ปีที่แล้ว +1

    Is controlling the LEDs also possible for Prepar 3D. I really like to control the LEDs but I don't know how to do that with Prepar.

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      No, x52luaout is only for X-Plane. I dont use P3D so I dont know how to make that work, sorry.

  • @sircompo
    @sircompo 7 ปีที่แล้ว +5

    Fantastic job!

    • @robertoclay5729
      @robertoclay5729 3 ปีที่แล้ว

      I know it is quite randomly asking but does anybody know of a good site to stream new series online ?

    • @andersonfinnegan8995
      @andersonfinnegan8995 3 ปีที่แล้ว

      @Roberto Clay lately I have been using Flixzone. You can find it on google =)

  • @Kappa4401
    @Kappa4401 5 ปีที่แล้ว

    How to set x52 pro in this mode? is possible a tutorial? i have this HOTAS

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      What you see in the video only works with X-Plane and my plugin X52luaout: forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/

  • @jrluidar2384
    @jrluidar2384 7 ปีที่แล้ว

    Thanks for your answer.i know it's for X -plan but i would like to know how did you do for the engine to change it's colour.when i get down the train it's red when i put it up to turn green.this is to use in Windows and Prepar 3D. Thank you.

    • @erkswede9807
      @erkswede9807  7 ปีที่แล้ว

      I'm not really sure what your asking but, again, this won't work in P3D.
      The pluging I wrote, X52LuaOut, consists of a main Lua-script which is run under FlyWithLua for X-Plane:
      forums.x-plane.org/index.php?/files/file/35579-flywithlua-core-edition-for-x-plane-11-windows-linux-mac-os-x-version/
      The plugin also contains "command handlers", small programs that passes commands from the main Lua script to the X52-joystick. Under windows this is a Lua script that uses Passerelle library: github.com/chrilith/Passerelle
      So, in an attempt to answer your question, the color of the leds are changed by the main script, via the command handler. The changes occur according to a definition file where one can assign different leds, and colors, to certain changes in X-Plane via Datarefs (X-Plane specific variables).

  • @AlexTimofte
    @AlexTimofte 5 ปีที่แล้ว

    Hi, i just bought the x52 pro yesterday and x plane 11, hopefully i’ll have them delivered today. If i download your script, do i need to do any further customisation out of the box? I love this setup to bits its amazing !!

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      I'm not sure what you mean by customization but yes, just download it, unzip and read the manual included. If you need help, please ask in the comment section for my plugin over at x-plane.org forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/

  • @titomg81
    @titomg81 4 ปีที่แล้ว

    Hello. I wonder if you could share your X52 Pro profile file if you still have it.
    Thank you.

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว

      I'm not sure what you mean? The controlling of the LEDs shown in the video is made possible by my plugin, X52LuaOut, for X-Plane. Link is in the description.

  • @redvemr
    @redvemr 4 ปีที่แล้ว

    Not sure if you are still active, but can you show what all of your buttons actually do?

    • @redvemr
      @redvemr 4 ปีที่แล้ว

      in particular, what you set the D button to.

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว

      There are some profiles around the internet. Just google "x52 pro configuration" and you will get good results. For this video I have made a rather simple setup. Some of the buttons are: A and B - Different lights. T1 and T2 - Flaps up and down. T3 and T4 - Landing gear up and down. D - Engines start. E - Main battery.

    • @redvemr
      @redvemr 4 ปีที่แล้ว

      tysm, I love the script you made.

    • @redvemr
      @redvemr 4 ปีที่แล้ว

      also, in the vid, it looks like you got the throttle LEDs to be white, is that actually white (if so how do you do that) or is it just amber coming through oddly. (ik how to turn on the throttle leds)

    • @erkswede9807
      @erkswede9807  4 ปีที่แล้ว

      @@redvemr they are not white, just bad video quality. If I remember correctly the color of the throttle leds can not be altered, but they do turn red the last say 10% up to full, but that is hardware controlled.

  • @Kron1K_
    @Kron1K_ 7 ปีที่แล้ว +1

    Does this work with the non pro x52?

    • @erkswede9807
      @erkswede9807  7 ปีที่แล้ว +1

      It might work in Linux or OSX but not in Windows (Saitek doesn't provide an API for the non pro AFAIK). Unfortunately I don't have access to a X52 non pro for testing.

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      @Sea Isle Design Group, LLC you need the FlyWithLua plugin *and* X52LuaOut (my plugin): forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/ One of the ideas behind it is that we can share profiles within the X-Plane community for different aircraft. X52LuaOut contains a default profile (or definition/XML file) which givers you some basic functionality in any aircraft.

  • @dennisschultz1175
    @dennisschultz1175 3 ปีที่แล้ว

    Does anyone have this same setup for Microsoft Flight Simulator 2020? Does all of this functionality work the same way in FS2020?

  • @jrluidar2384
    @jrluidar2384 7 ปีที่แล้ว

    pls tell how make leds jostick change color if is used
    pls pls

    • @erkswede9807
      @erkswede9807  7 ปีที่แล้ว

      JRLUIDAR JRLUIDAR there is a link in the descrition to the script. This is only for X-Plane.

  • @willvales5570
    @willvales5570 7 ปีที่แล้ว

    Is there anything like this for fsx?

    • @erkswede9807
      @erkswede9807  7 ปีที่แล้ว +1

      Sorry, I don't know. I use mainly X-Plane under Linux.

    • @ollietreg2334
      @ollietreg2334 7 ปีที่แล้ว

      This will work for any flight sim.

  • @ThunderStick85
    @ThunderStick85 6 ปีที่แล้ว

    Very good script, can i use this for FFA320 and Windows 7???

    • @erkswede9807
      @erkswede9807  6 ปีที่แล้ว

      X52LuaOut works for X-Plane 10 & 11 under Windows, Mac and Linux. Which plane you're flying shouldn't be an issue as long as it uses the normal button and axis assignment within X-Plane. I haven't tested on any third party aircraft though.

  • @kingharryannis
    @kingharryannis 6 ปีที่แล้ว

    Throttle unit led lights do not work on Mac computer ,x plane 10.

    • @erkswede9807
      @erkswede9807  6 ปีที่แล้ว

      If it's only the LEDs on the throttle and not the stick, I doubt it's a problem with X52LuaOut. Perhaps check the cable between the two units? If you have more questions, please ask in the X-Plane dot orgs forum: forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/&tab=comments

    • @kingharryannis
      @kingharryannis 6 ปีที่แล้ว

      @@erkswede9807 Cheers mate

  • @badbatch5743
    @badbatch5743 5 ปีที่แล้ว

    wieso kann man das nicht gleich zeigen im video wie man es installiert?

    • @pteppig
      @pteppig 4 ปีที่แล้ว +1

      Weil es auf der verlinkten Seite bereits beschrieben ist. Ein bisschen Selbstständigkeit um kostenlose Software zu nutzen setzt man eben voraus

  • @abbe2068
    @abbe2068 7 ปีที่แล้ว +1

    Hej, snälla kan du göra en video hur du setup allting snälla?

    • @erkswede9807
      @erkswede9807  7 ปีที่แล้ว +1

      I have no plans on making a video for setup. If you need help please ask your question on the X52LuaOut page: forums.x-plane.org/index.php?/files/file/35304-x52luaout/ Thanks!

  • @juliuskarge9065
    @juliuskarge9065 6 ปีที่แล้ว

    Nice Video. IT Shows me what I can do with this "Joystick!" I am so excited because I got this Yesterday. Before I had the X52 not pro

    • @TheDarmach
      @TheDarmach 6 ปีที่แล้ว

      How do you find the precision between pro and non pro? deadzone?

  • @fifesimracerguy455
    @fifesimracerguy455 6 ปีที่แล้ว

    this plugin doesnt work anylonger

    • @erkswede9807
      @erkswede9807  6 ปีที่แล้ว

      It works fine here. What seems to be the problem?

    • @fifesimracerguy455
      @fifesimracerguy455 6 ปีที่แล้ว

      erkswede that the plugin doesn’t work lua doesn’t work with it. Also the x52 doesn’t toggle switches in the Zibo either

    • @erkswede9807
      @erkswede9807  6 ปีที่แล้ว

      @@fifesimracerguy455 if you need help please drop a comment on the plugin page: forums.x-plane.org/index.php?/files/file/35304-x52luaout-winmaclin/ Please state what version of X-Plane, and FlyWithLua you are using.

    • @fifesimracerguy455
      @fifesimracerguy455 6 ปีที่แล้ว

      erkswede current unable to get access to the website sorry. Also the version of LUA is the same in the download as the script and my xplane 11 version is 11.30 rc1
      I get a LUA error stating that there is an error in the code on line 646 = nil value its issues to do with the log file

    • @fifesimracerguy455
      @fifesimracerguy455 6 ปีที่แล้ว

      erkswede this doesn’t work with the latest driver so it doesn’t work thanks

  • @badbatch5743
    @badbatch5743 5 ปีที่แล้ว

    weist jemand wie ich es installiere? ich kann überhaupt kein englisch nur zu Info

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      Ich habe leider nicht kein dokumentation auf deutsch. Unzip und dann im folder x52LuaOut\Docs gucken. Vieleicht kann du das "X52LuaOut Manual.html" mit Google ũbersetzer benutzen?

    • @badbatch5743
      @badbatch5743 5 ปีที่แล้ว

      Habe noch eine frage und zwar was muss ich mit der datei default.xml machen? Wie kann ich es laden. Danke für antwort

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      @@badbatch5743 Der mappe "My_x52LuaOut_definitions" wird um erste start der x52luaout kriert und der datei default.xml wird automatischen zum mappe "My_x52LuaOut_definitions" kopiert.
      Wann das flugzeug im X-Plane geladet ist, der datei default.xml wird automatischen auch ladet.
      Im mappe "x52LuaOut\example definitions" kannst du dateien für der Cessna 172 und Baron 58 finden. Kopieren zum "My_x52LuaOut_definitions". Bitte nicht der "include" dateien fergessen.
      Entschuldige mein schlechtes deutsch.

    • @badbatch5743
      @badbatch5743 5 ปีที่แล้ว

      @@erkswede9807 super Danke für die schnelle Antwort hat alles super funktionier nur eine frage noch und zwar, ich benutze es zum ersten mal wie kriege ich die schwarze anzeige weg?
      und kann ich die Funktion auch bei anderen Flugzeugen nutzen? was deinen deutsch angeht, der ist besser als meins:-)

    • @erkswede9807
      @erkswede9807  5 ปีที่แล้ว

      @@badbatch5743 Ich verstehe nicht "die schwarze anzeige"? Was ist schwarz?

  • @RaylaRayV
    @RaylaRayV 4 ปีที่แล้ว

    'the leads will light up'
    ¬_¬
    the exact moment I left the video.

  • @PerrenialMillennial
    @PerrenialMillennial 2 ปีที่แล้ว

    NO.