A joystick is a pointing device composed of a stick that pivots or rotates on a base and detects position. Joysticks are often used in computer games, and are also used in some industrial and robotics applications. They are usually two-dimensional, meaning that they can move in two directions, up/down and left/right. Some joysticks also have buttons on them that can be used to control other functions. Joysticks allow for better control of a game or industrial robotics than a mouse or keyboard.