With my SpacePilot, the check for an input of 1 was not enough to eliminate drift on OSX; I actually had to set it to around 30 to eliminate most of the drifting. Since that value was relatively high, I also added some dead zone logic so that the lowest input that registers isn't 31 in my case, but it starts counting from zero outside of the dead zone. I also added in some sliders so others can change the behavior as they see fit.
With my SpacePilot, the check for an input of 1 was not enough to eliminate drift on OSX; I actually had to set it to around 30 to eliminate most of the drifting. Since that value was relatively high, I also added some dead zone logic so that the lowest input that registers isn't 31 in my case, but it starts counting from zero outside of the dead zone. I also added in some sliders so others can change the behavior as they see fit.