TABORIGIN (Set Tablet Origin)

Purpose

Sets tablet origin.

Syntax

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

Description

The TABORIGIN ioctl subroutine call sets the origin of the tablet to either the lower left-hand corner or the center of the tablet. The default origin is the lower left-hand corner.

Parameters

Item Description
FileDescriptor Specifies the open file descriptor for the tablet.
Arg Specifies the address of an integer whose value is one of the following values:
#define TABORGLL     0     /* origin is lower left corner     */
#define TABORGC      1     /* origin is center                */