[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Technical Reference: Kernel and Subsystems, Volume 2
MSAMPLERATE (Set Mouse Sample Rate)
Purpose
Sets mouse sample rate.
Syntax
#include <sys/inputdd.h> int ioctl (FileDescriptor, MSAMPLERATE, Arg)
int FileDescriptor;
uint *Arg;
Description
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.
Parameters
FileDescriptor |
Specifies the open file descriptor for the mouse. |
Arg |
Specifies the address of an integer where value is one of the following
values:
#define MSR10 1 /* 10 samples per second */
#define MSR20 2 /* 20 samples per second */
#define MSR40 3 /* 40 samples per second */
#define MSR60 4 /* 60 samples per second */
#define MSR80 5 /* 80 samples per second */
#define MSR100 6 /* 100 samples per second */
#define MSR200 7 /* 200 samples per second */ |
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]