[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

MRESOLUTION (Set Mouse Resolution)

Purpose

Sets mouse resolution.

Syntax

#include <sys/inputdd.h>

int ioctl (FileDescriptor, MRESOLUTION, Arg)
int FileDescriptor;
uint *Arg;

Description

The MRESOLUTION ioctl subroutine call sets the value reported when the mouse is moved one millimeter

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 MRES1     1     /* minimum     */
#define MRES2     2     /*             */
#define MRES3     3     /*             */
#define MRES4     4     /* maximum     */

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]