A model of a display. The tiny dot on the display represents the black dot on the screen. The yellow dot always goes to the x and y positions of the black dot divided by ten. Controls that I've added in: Pressing 1 switches to Arrow Keys mode. The dot on the display will turn yellow. The arrow keys move the black dot. Pressing 2 switches to Mouse mode. The dot on the display will turn green. The black dot goes to the mouse.