Abstract: A method for creating a computer macro, the computer macro being executed on a computer, the computer including a processor, a display screen, a peripheral device, and a memory accessible by the processor, peripheral device, the method comprising: detecting, by a computer driver being at least partially resident in the memory, a computer program being at least partially resident in the memory to be executed in the computer; assigning, by the computer driver, at least one computer macro relating to the detected computer program to a key and/or button on the peripheral device; assigning, by the computer driver, a computer macro symbol relating to the assigned computer macro; storing, in the memory, the computer macro, the key and/or button on the peripheral device assigned to the computer macro and/or the assigned computer macro symbol; displaying, on the display screen via the computer driver, an on-screen-display, OSD, wherein the OSD is configured to display the assigned stored computer macro symbol and a re
Abstract: The present invention relates to an optoelectronic device for determining relative movements or relative positions of two objects, comprising a first object fixed relative to a frame of the device; a second object mounted in spaced relation to the first object and adapted for movement relative thereto; and a plurality of measuring cells for determining movement or displacement of the second object relative to the first object. Each measuring cell comprises a light-emitting element and a detector for detecting light from the light-emitting element. The invention provides a light shield for the optoelectronic device, the light shield comprising a plurality of channels which together define a non-planar or three-dimensional array of light beam paths between the first and second objects of the optoelectronic device.