scaling and offseting leap input