#include <sys/inputdd.h>
int ioctl (FileDescriptor, DIALSETGRAND, Arg) int FileDescriptor; struct dialsetgrand *Arg;
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).
FileDescriptor | Specifies the open file descriptor for the dials. |
Arg | Specifies the address of the dialsetgrand structure. |
This ioctl subroutine call is part of Base Operating System (BOS) Runtime.