try to make renengine input handling