A trackball is a pointing device consisting of a ball held in a socket containing sensors to detect the ball’s rotation. It is typically used to move a cursor on a computer screen.