Cara Kerja Mouse, Joystick, Scanner, dan Trackball