Hooking up walking state to input