INput for dx and ogl