MREGRING (Register Input Ring)

Purpose

Registers input ring.

Syntax

#include <sys/inputdd.h> int ioctl (FileDescriptor, MREGRING, Arg) int FileDescriptor; struct uregring *Arg;

Description

The MREGRING ioctl subroutine call specifies the address of the input ring and the value to be used as the source identifier when enqueuing reports on the ring. A subsequent MREGRING ioctl subroutine call replaces the input ring supplied earlier. Specify a null input ring pointer to disable mouse input.

Parameters

Item Description
FileDescriptor Specifies the open file descriptor for the mouse.
Arg Specifies the address of an URERING structure.