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

Technical Reference: Kernel and Subsystems, 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.

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