pub fn handler_for_input<P: InputPin>(pin: P) -> impl Handler