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

DIALSETGRAND (Set Dial Granularity)

Purpose

Sets dial granularity.

Syntax

#include <sys/inputdd.h>
int ioctl (FileDescriptor, DIALSETGRAND, Arg)
int FileDescriptor;
struct dialsetgrand *Arg;

Description

The DIALSETGRAND ioctl subroutine call sets the number of events reported per 360 degree revolution, specified as a power of two on a per-dial basis. The dialsetgrand structure contains a bit mask that indicates which dial or dials should be modified. Valid granularity is any number between 2 and 8, inclusive. The default granularity is 7 (128 reports per rotation).

Parameters

FileDescriptor Specifies the open file descriptor for the dials.
Arg Specifies the address of the dialsetgrand structure.

Implementation Specifics

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


[ Previous | Next | Contents | Home | Search ]