## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### Interrupt Packet IDC Interface

    /----------------\                    /-----------------\
    | Pen Device     |                    | Pen for OS/2    |
    | Driver         |                    | Device Driver   |
    |                |    REPORT_EVENT    | Services        |
    | Locator Device |--------------------                 |
    |                |                    |                 |
    |                |                    |                 |
    |                |                    |                 |
    \----------------/                    \-----------------/

The inter-device driver communication (IDC) interface for the locator Pen for OS/2 Device Driver Services is similar to the standard OS/2 mouse device-dependent design. The pen device driver calls the Pen for OS/2 Device Driver Services at the service entry point address passed during service identification instead of the MOUSE.SYS IDC entry point. Locator devices pass an address to an extended information packet instead of filling in the MOUSE.SYS interrupt packet. The REPORT_EVENT service call supports both absolute and relative locator streams.

Along with the locator position, locator devices identify three types of events in the extended information packet: (1) standard mouse button events of button 1, 2, and 3 with and without movement; (2) changes in mouse button position; and (3) devices that support proximity report an event when the proximity zone is entered and when the proximity zone is exited. The proximity zone is an area where locator action is sensed by a touch-sensitive device without the locator device contacting the touch- sensitive surface.