Table 4.5
Logical GID Event Data Types
Type
Value
T_KC_BunON
09H
T_TS
45H
T_TABLET
46H
T_POINTER
47H
Definition
Button data
Specially formed data (80
x
25-default) generated by
V_LTOUCH
Specially formed data (640
x
200 range-default)
generated by V_LTABLET
Specially formed data (640
x
200 range-default)
generated by V_LPOINTER
4.2.2.3
Application Event Drivers
As previously mentioned, applications may install a routine to handle interrupts from the logical
GID drivers. Three predefined vectors in the HP_VECTOLTABLE are initialized to the null driver
(V_PNULL). The three vectors are V_EVENT_TOUCH, V_EVENT_POINTER, and
V_EVENT_TABLET which are called by the logical GID drivers V_LTOUCH, V_LPOINTER, and
V_LTABLET respectively when event interrupts are enabled by a call to SF_EVENT_ON. A call
to SF_CREATE_EVENT sets the corresponding event vector to point to the user application
event driver instead of the null driver.
The application event driver is required to support only one function, F_ISR. The driver should
return RS_UNSUPPORTED for all unimplemented functions.
4.2.3
Logical GID Drivers
The drivers V_LTOUCH, V_LPOINTER and V_LTABLET represent the application interface to
the Input System. These drivers provide functions to poll for data, enable/disable application
event interrupts, enable/disable tracking and enable/disable clipping and/or scaling.
Input System and HP-HIL 63
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers