Abstract: A user input device for an electronic device is disclosed. The user input device provides positional information using a grid of light. The grid of light is produced from a light source and waveguides. The grid of light is also received and processed using waveguides and a light detector. Optionally, optics may be used to enhance the operation of the user input device. The user input device is particularly suited for use as a user input device for a computer system or the like.