Download Print this page

HP Vectra Technical Reference Manual page 99

Hide thumbs Also See for Vectra:

Advertisement

F_SAMPLE
(AH
=
06H)
This function allows an application to poll the tablet device. This function reports the current
absolute position of the logical device in a form similar to a Logical ISR Event Record.
On Entry: AH
=
F _SAMPLE (06H)
BP
=
V_LTABLET (OOBAH)
On Exit:
AH
=
Return Status Code
BX
=
Current logical position along X axis
CX
=
Current logical position along Y axis
DL
=
LD_TRANSITION field of Logical Describe Record
DH
=
LD_STATE field of Logical Describe Record
ES:O
=
Pointer to logical device header and Describe Record
Registers Altered: AX, BX, CX, DX, BP, DS, ES
The following is an example of how to call the F _SAMPLE function.
MOV AH, F_SAMPLE
MOV BP, VJTABLET
PUSH
OS
INT
HP_ENTRY
POP
OS
,. load function code
,. load vector address
,. save the current
OS
,. call extended BIOS driver
,. restore OS
4.2.4 Application Event Driver Example
The following program is an example of how to input touch screen data using application event
interrupts. The program installs an application event driver using the SF_CREATE_EVENT
function and enables event interrupts using the SF_EVENT_ON function. The event handler
supports only the F _ISR function which processes both button and motion Logical ISR Event
Records.
90
Input System and HP-HIL

Advertisement

loading
Need help?

Need help?

Do you have a question about the Vectra and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel