PROFACE PL-5700 Series Manual page 94

Table of Contents

Advertisement

}
}
/**********************/
/* INPUT TUCHPANEL */
/**********************/
void touchpanel_on(void)
{
int i, value;
inregs.x.ax = TP_IN_NOWAIT;
int86(ATPH_SYS_CALL, &inregs, &outregs);
if(outregs.h.ah == 0)
{
value=FALSE;
for(i=0; tpcd[i].sx; i++)
{
if(
((short)outregs.x.dx > tpcd[i].sx)&&
((short)outregs.x.bx > tpcd[i].sy)&&
((short)outregs.x.dx < tpcd[i].ex)&&
((short)outregs.x.bx < tpcd[i].ey))
{
inregs.h.ah = WRITE_DATA;
inregs.x.cx = tpcd[i].key;
int86(KEYBOARD_BIOS, &inregs, &outregs);
buzzer_on();
wait_touch_off();
buzzer_off();
value=TRUE;
break;
App-12
/* Touch Panel On */
/* Time in area */
Appendix
PL-5700 Series User's Manual

Advertisement

Table of Contents
loading

Table of Contents