An apparatus for controlling the position of a screen pointer includes a
light source for illuminating an imaging surface, thereby generating
reflected images. The apparatus includes a navigation sensor for
generating digital images based on the reflected images, detecting
defective pixel locations in the digital images, and generating movement
data based on the digital images that is indicative of relative motion
between the imaging surface and the apparatus.