/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:tbdefs.h 12.0$ */
/* $ACIS:tbdefs.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/h/RCS/tbdefs.h,v $ */

/* Defines for using the tablet/mouse emulator discipline */
#define NTBS		(16)
#define MAXTABLCHAR	(8)
#define TBQUEUESIZE	(5)

/* Generic structure for returning tablet or mouse positions */
struct tbmspos {
	int	xpos;
	int	ypos;
	short	status;
	short	scount;
};

/* Structure per tablet/mouse */
struct tb {
	short	used;
	short	d_line;
	char	cbuf[MAXTABLCHAR];
	short	lastindex;
	short	curindex;
	struct	tbmspos tbpos[TBQUEUESIZE];
};
