Sets mouse sample rate.
#include <sys/inputdd.h> int ioctl (FileDescriptor, MSAMPLERATE, Arg) int FileDescriptor; uint *Arg;
The MSAMPLERATE ioctl subroutine call specifies the maximum number of mouse events that are reported per second.
The default sample rate is 100 samples per second.
Item | Description |
---|---|
FileDescriptor | Specifies the open file descriptor for the mouse. |
Arg | Specifies the address of an integer where value is one of
the following values:
|