*** G27LEDs plugin for LFS ***
Version 1.99D by MadCatX

WARNING: This is a testing and incomplete version so expect a bumpy ride!

1) Disclaimer
This mod is built on top of a sample DInput proxy DLL implementation written by Michael Koch (www.mikoweb.eu) - thank you man! The program and the source are released under zlib license.

2) Installation and usage
- Copy all files in "Binary" directory to your LFS directory. Enable OutGauge in "cfg.txt" by changing the line "OutGauge Mode 0" to either 1 or 2. Set "OutGauge Port" to an arbitrary value between 1024 and 65535, value 30000 is considered default.
- Run "G27LEDsApp.exe", make sure that OutGauge port matches the port you set in "cfg.txt" and click "Launch LFS".

3) Customization
Edit the g27leds.cfg file to change the RPM at which the LEDs light up and reach redline. See the respective file for details. Unless specified otherwise, the mod uses defaults which can be read in ConfigLoader.cpp file.

4) Debugging
The mod has the option to write a lot of extra information to application's window and "g27log.txt" file. You can toggle the debugging output in "g27leds.cfg" file. For performance reasons it is recommended that you disable any debugging output unless you are having problems with the mod.

5) Reporting problems
If you think you found a problem with the mod, I encourage you to report it to the respective thread on lfsforum.net. Before you report a problem, enable debugging output to file and ALWAYS attach the "g27log.txt" file to your post. Without that file I WILL NOT be able to help you. I am periodically checking the thread in lfsforum.net so there is no need to send me PMs.

6) Possible issues
- Using two or more mods that require modified dinput8.dll library simultaneously is not supported.
- Compatibility with other mods for LFS has not been tested.

Thanks to everyone who helped me to test and debug this mod!
