[  Previous  |
Next  |
Contents  |
Home  |
Search  ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, 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 | */ | 
 | 
Implementation Specifics
This ioctl subroutine call is part of Base 
Operating System (BOS) Runtime.
[  Previous  |
Next  |
Contents  |
Home  |
Search  ]