motion detector: Use constants and update bindings
stepper: Remove dead code