Generate the `enum xrt_input_name` from a macro to avoid code duplication