saitek-xplane/saitek-plugin-xplane — pull request #6 by taco24 (2011-12-28 22:15:55+00:00)
Title: switch panel: landing lights button implemented.

This is a sample implementation for the landing light button. Please reject any code that is not according to the intended style. I created a new enum for the switch-panel but I'm not sure if this is the correct way for the current code layout.
If you can provide feedback, I will adapt the code. Or you can just disregard my changes and implement the example yourself and I will implement the rest from your sample.