[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

TABQUERYID (Query Tablet Device Identifier) ioctl Tablet Device Driver Operation

Purpose

Queries tablet device identifier.

Syntax

#include <sys/inputdd.h>

int ioctl (FileDescriptor, TABQUERYID, Arg)
int FileDescriptor;
struct tabqueryid *Arg;

Description

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                    */

Parameters

FileDescriptor Specifies the open file descriptor for the tablet.
Arg Specifies the address of a TABQUERYID structure.

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.


[ Previous | Next | Contents | Home | Search ]