made deadzones configurable
fixed indentation and code style
renamed curve1 to tiltInputCurve