Skip to content

Releases: Theaninova/EDDX52

v1.1-alpha Hotfix 1

01 Aug 17:15
Compare
Choose a tag to compare
v1.1-alpha Hotfix 1 Pre-release
Pre-release

Fixed getLinesCount

v1.1-alpha

01 Aug 15:40
Compare
Choose a tag to compare
v1.1-alpha Pre-release
Pre-release

Make sure you are on EDD 10.1.3.0 or up.

Changes from v1.0-alpha:

  • Bug, which returned an error everytime any function was called has been fixed
  • DLL is now a Release Build
  • getLinesCount should theoretically return the right line count now

The current version is at a pretty good state.
The included DirectOutput.dll is not made by me, but was included in the Saitek diver and is required for the Plugin to work. If you don't trust me, you can find, assuming you installed the latest driver verison, the DLL at C:\Program Files\Logitech\DirectOutput, which you can use instead of the one I included. I won't blame you for doing that.

Installation:

The EDDX52.zip include four files. Put the DirectOutput.dll and the EDDX52.dll into C:\Users\[Username]\AppData\Local\EDDiscovery\DLL\ and you are good to go! The other two files are a list of all commands and an image explaining the Flash Patterns.

LED Features include:

  • Setting the LED color by using the Action command DLLCall EDDX52 setLED, [LED Name], [LED Color] and turning them off. Please note that some buttons don't support manual change of color.
  • Setting the LED color by using the Action command DLLCall EDDX52 advSetLED, [LED ID], [State ID], [Repeats], [Repeat Offset], [Flash Duration], [Flash Offset] This command gives you the ability to set flash patterns and communicate with the individual red and green components by leaving out the last four parameters
  • Truning all LEDs off/Resetting the LED states by using DLLCall EDDX52 resetLED or DLLCall EDDX52 turnAllLEDOff The difference here is, that the first command syncs the LEDs (more later)
  • Syncing all LED Flash Patterns by by using the Action command DLLCall EDDX52 syncFlashPatterns It basically resets the time for each LED, so they all start their Flash Patterns again at the same time.
  • Perma Syncing two (or more) LED Flash Patterns by by using the Action command DLLCall EDDX52 permaSyncTo, [LED ID 1], [LED ID 2] What this does is makes the second LED use the time variable of the first LED, which permanentley syncs them. That also means, that which evers Flash Pattern finishes first wins. You can sync more than one LED to the first LED.
  • Break Perma Syncs by by using the Action command DLLCall EDDX52 desync, [LED ID] Pretty much what it sounds like. It makes the LED use its own time variable, which breaks the link between the two LEDs.

Tips for using the LEDs:

  • Syncing means syncing one LED to another, not syncing them with equal rules. You can break a link when you synced the LED to another, but not if another LED is synced to it.
  • Refer to the included image to better understand how the flash patterns work.
  • Refer to the included .txt for Button names and states, as well as IDs

MFD Features include

  • The MFD is a scrollable List. It can be scrolled through by using the right scrolling wheel on the display
  • Adding text at a specific line by by using the Action command DLLCall EDDX52 setString, [line], [text], [Entry ID] It currently overrides any other item at the current positon, however that will change in the future. The Entry ID can be used for editing and deleting the Entry
  • Affiliating Action EVENTS with an entry by using the Action command DLLCall EDDX52 setString, [line], [text], [Entry ID], [Callback Name] Callback Name is the name of the event. So for example if you passed in EDDX52_ExtendGear, you would need a callback EVENT EVENT EDDX52_ExtendGear, [Callback PROGRAM Name], "", Condition AlwaysTrue The top item is always the item that responds to clicks on the scroll wheel.
  • Edit an MFD entry by using the Action command DLLCall EDDX52 editMFDEntry, [Entry ID], [New Text], [New Callback] If you don't want to set a new callback, leave out the last parameter.
  • Deleting an MFD Entry by using the Action command DLLCall EDDX52 removeMFDEntry, [Entry ID]
  • Getting the amount of lines by using the Action command DLLCall EDDX52 getLinesCount
  • Setting the MFD scroll to a specific line by using the Action command DLLCall EDDX52 setLine, [line]
  • Temporarily showing pure text information on the MFD by using the Action command DLLCall EDDX52 peakMFD, [text], [Show time] Please note that the text you are putting in can be very long. The DLL will make use of all the space on the MFD and even wrap the text properly, as well as indicating an incomplete display with three points (...). It is mainly thought to be used to display messages you received. The content says on the display for the specified amount of time and disappeares after that, showing the content from before.
  • Resetting the MFD by using the Action command DLLCall EDDX52 resetMFD

Tips for using the MFD:

  • MFD Entries support more than 16 characters. However, the MFD will start scrolling the text through then, which is not very fancy to look at. So please do yourself a favour and opt for 16 characters maximum.
  • Don't try to make long animations on the MFD. There is a function I wrote to do that, which caused the MFD to flicker and turn off its backlight, so I removed it.

General Tips:

  • Reset everything by using the Action command DLLCall EDDX52 reset
  • A new mode for the MFD for output only is planned (No scrolling, just 16x3 text display) for for example surface navigation
  • If you own the Saitek FiP (Flight Instruments Panel), the plugin might not work. You also might want to contact me, as it is possible to add support for the FiP to work with the plugin.

Please don't forget to show me what you did with the Plugin!

v1.0-alpha

18 Jul 13:53
Compare
Choose a tag to compare
v1.0-alpha Pre-release
Pre-release

Make sure you are on EDD 10.1.3.0 or up.

The current version is at a pretty good state.
The included DirectOutput.dll is not made by me, but was included in the Saitek diver and is required for the Plugin to work. If you don't trust me, you can find, assuming you installed the latest driver verison, the DLL at C:\Program Files\Logitech\DirectOutput, which you can use instead of the one I included. I won't blame you for doing that.

Installation:

The EDDX52.zip include four files. Put the DirectOutput.dll and the EDDX52.dll into C:\Users\[Username]\AppData\Local\EDDiscovery\DLL\ and you are good to go! The other two files are a list of all commands and an image explaining the Flash Patterns.

LED Features include:

  • Setting the LED color by using the Action command DLLCall EDDX52 setLED, [LED Name], [LED Color] and turning them off. Please note that some buttons don't support manual change of color.
  • Setting the LED color by using the Action command DLLCall EDDX52 advSetLED, [LED ID], [State ID], [Repeats], [Repeat Offset], [Flash Duration], [Flash Offset] This command gives you the ability to set flash patterns and communicate with the individual red and green components by leaving out the last four parameters
  • Truning all LEDs off/Resetting the LED states by using DLLCall EDDX52 resetLED or DLLCall EDDX52 turnAllLEDOff The difference here is, that the first command syncs the LEDs (more later)
  • Syncing all LED Flash Patterns by by using the Action command DLLCall EDDX52 syncFlashPatterns It basically resets the time for each LED, so they all start their Flash Patterns again at the same time.
  • Perma Syncing two (or more) LED Flash Patterns by by using the Action command DLLCall EDDX52 permaSyncTo, [LED ID 1], [LED ID 2] What this does is makes the second LED use the time variable of the first LED, which permanentley syncs them. That also means, that which evers Flash Pattern finishes first wins. You can sync more than one LED to the first LED.
  • Break Perma Syncs by by using the Action command DLLCall EDDX52 desync, [LED ID] Pretty much what it sounds like. It makes the LED use its own time variable, which breaks the link between the two LEDs.

Tips for using the LEDs:

  • Syncing means syncing one LED to another, not syncing them with equal rules. You can break a link when you synced the LED to another, but not if another LED is synced to it.
  • Refer to the included image to better understand how the flash patterns work.
  • Refer to the included .txt for Button names and states, as well as IDs

MFD Features include

  • The MFD is a scrollable List. It can be scrolled through by using the right scrolling wheel on the display
  • Adding text at a specific line by by using the Action command DLLCall EDDX52 setString, [line], [text], [Entry ID] It currently overrides any other item at the current positon, however that will change in the future. The Entry ID can be used for editing and deleting the Entry
  • Affiliating Action EVENTS with an entry by using the Action command DLLCall EDDX52 setString, [line], [text], [Entry ID], [Callback Name] Callback Name is the name of the event. So for example if you passed in EDDX52_ExtendGear, you would need a callback EVENT EVENT EDDX52_ExtendGear, [Callback PROGRAM Name], "", Condition AlwaysTrue The top item is always the item that responds to clicks on the scroll wheel.
  • Edit an MFD entry by using the Action command DLLCall EDDX52 editMFDEntry, [Entry ID], [New Text], [New Callback] If you don't want to set a new callback, leave out the last parameter.
  • Deleting an MFD Entry by using the Action command DLLCall EDDX52 removeMFDEntry, [Entry ID]
  • Getting the amount of lines by using the Action command DLLCall EDDX52 getLinesCount
  • Setting the MFD scroll to a specific line by using the Action command DLLCall EDDX52 setLine, [line]
  • Temporarily showing pure text information on the MFD by using the Action command DLLCall EDDX52 peakMFD, [text], [Show time] Please note that the text you are putting in can be very long. The DLL will make use of all the space on the MFD and even wrap the text properly, as well as indicating an incomplete display with three points (...). It is mainly thought to be used to display messages you received. The content says on the display for the specified amount of time and disappeares after that, showing the content from before.
  • Resetting the MFD by using the Action command DLLCall EDDX52 resetMFD

Tips for using the MFD:

  • MFD Entries support more than 16 characters. However, the MFD will start scrolling the text through then, which is not very fancy to look at. So please do yourself a favour and opt for 16 characters maximum.
  • Don't try to make long animations on the MFD. There is a function I wrote to do that, which caused the MFD to flicker and turn off its backlight, so I removed it.

General Tips:

  • Reset everything by using the Action command DLLCall EDDX52 reset
  • A new mode for the MFD for output only is planned (No scrolling, just 16x3 text display) for for example surface navigation
  • If you own the Saitek FiP (Flight Instruments Panel), the plugin might not work. You also might want to contact me, as it is possible to add support for the FiP to work with the plugin.

Please don't forget to show me what you did with the Plugin!