[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

MTHRESHOLD (Set Mouse Reporting Threshold)

Purpose

Sets mouse reporting threshold.

Syntax

#include <sys/inputdd.h>

int ioctlFileDescriptor, MTHRESHOLD, Arg)
int FileDescriptor;
ulong *Arg;

Description

The MTHRESHOLD ioctl subroutine call sets the minimum horizontal or vertical distance (in counts) that the mouse must be moved before the driver reports an event. The high-order two bytes of the Arg parameter specify the horizontal threshold and the low-order two bytes specify the vertical threshold. The minimum threshold is 0, while the maximum threshold is 32767. The default horizontal and vertical mouse reporting threshold is 22.

Parameters

FileDescriptor Specifies the open file descriptor for the mouse.
Arg Specifies the address of the desired threshold.

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.


[ Previous | Next | Contents | Home | Search ]