[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
Kernel and Subsystems Technical Reference, Volume 2
MQUERYID (Query Mouse Device Identifier)
Purpose
Queries mouse device identifier.
Syntax
#include <sys/inputdd.h>
int ioctl (FileDescriptor, MQUERYID, Arg)
int FileDescriptor;
unit *Arg;
Description
The MQUERYID ioctl subroutine call
returns the identifier of the natively connected mouse.
Parameters
FileDescriptor |
Specifies the open file descriptor for the mouse. |
Arg |
Specifies the address of the location to return the mouse identifier. The
mouse identifier returned in the Arg parameter is:
#define |
MOUSE3B |
0x01 |
/*.......... |
*/ |
#define |
MOUSE2B |
0x02 |
/*2 Button Mouse*/ |
|
Implementation Specifics
This ioctl subroutine call is part of Base Operating System (BOS) Runtime.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]