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

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