[  Previous  |
Next  |
Contents  |
Home  |
Search  ]
AIX Version 4.3 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.
[  Previous  |
Next  |
Contents  |
Home  |
Search  ]