I'm working with Jason Fayre on the Talking Flight Monitor project, the accessibility add-on for FSX and Prepar3d. One of our users asked for the ability to set spoilers/speedbrakes to an arbitrary percentage; in the sim, the keyboard command (slash key by default) either sets them to full or off, with no way to fine-tune their extension. The notes for the offset (0BD0) say that a value of 4800 is armed, but that 5620 is the minimum you can set that actually causes extension. 5620 is 7% extended, and 16383 is 100%. I'm fairly good at math, but I'm confused by the snippet that says: "The percentage extension is the proportion of the distance in the range 4800 to 16383..." I can't figure out, for the life of me, a good formula that can be used to convert an arbitrary percentage value into the value to write to the offset. I consider myself a decent coder, but the way FSUIPC and SimConnect represent things can sure make for some difficult calculations. :) Any help would be greatly appreciated.