e_input_backend: move the e_input_backend functions to e_input_backend.c