Fixes resting pin offset
Fixes up/down keypress limits