Queries tablet device identifier.
#include <sys/inputdd.h> int ioctl (FileDescriptor, TABQUERYID, Arg) int FileDescriptor; struct tabqueryid *Arg;
The TABQUERYID ioctl subroutine call returns the identifier of the natively connected tablet and its input device. The first field in the returned structure specifies the model number and may be:
#define TAB6093M11 0x01 /* 6093 model 11
or equivalent */
#define TAB6093M12 0x02 /* 6093 model 12 or equivalent */
The second field in the structure indicates what type of input device is connected to the tablet and may be one of the following:
#define TABUNKNOWN 0x00 /* unknown input
device */
#define TABSTYLUS 0x01 /* stylus */
#define TABPUCK 0x02 /* puck */
Item | Description |
---|---|
FileDescriptor | Specifies the open file descriptor for the tablet. |
Arg | Specifies the address of a TABQUERYID structure. |