In case you want to look at mine, here is the link to the latest and greatest... You'll see it's version 14 :)... It did take some thinking in a couple of spots plus as I was one of the first to be putting this in a Lancair, we tweaked some things based upon the way the Lancair Flaps system works and perfected the way the canopy seal works with the VP system.
At least it will give you another example to play with... But mind you don't enter it exactly unless you know what you are doing. :)