add set_input_mode in a raw state and sadly without tests for now