An optical navigation apparatus and method for making the apparatus uses a
light source and a sensor having an imaging array mounted on a leadframe
and encapsulated in an optically transparent body structure. The
optically transparent body structure is configured to include a
prism-like feature to internally reflect light from the light source
toward a target surface and an imaging lens feature to optically
manipulate the light reflected from the target surface onto the imaging
array of the sensor.