[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

TABCONVERSION (Set Tablet Conversion Mode)

Purpose

Sets tablet conversion mode.

Syntax

#include <sys/inputdd.h>
int ioctl (FileDescriptor, TABCONVERSION, Arg)
int FileDescriptor;
uint *Arg;

Description

The TABCONVERSION ioctl subroutine call specifies whether the value specified by the TABRESOLUTION ioctl subroutine call are in English units (inches) or metric units (centimeters).

Parameters

FileDescriptor Specifies the open file descriptor for the tablet.
Arg Specifies the address of an integer where value is one of the following values:

#define TABINCH 0       
/* report coordinates in inches 
     */
#define TABCM   1       
/* report coordinates in centimeters */

Related Information

The TABRESOLUTION ioctl subroutine call.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]