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

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