Queries keyboard device identifier.
#include <sys/inputdd.h>
int ioctl (FileDescriptor, KSQUERYID, Arg) int FileDescriptor; uint *Arg;
The KSQUERYID ioctl subroutine call returns the keyboard device identifier in the location pointed to by the calling argument. Valid keyboard identifiers are:
#define KS101 /0x01 /* 101 keyboard */ #define KS102 /0x02 /* 102 keyboard * #define KS106 /0x03 /* 106 keyboard */ #define KS101 0x01 /* .......*/ #define KS102 0x02 /* .......* #define KS103 0x03 /* .......*/
FileDescriptor | Specifies the open file descriptor for the keyboard. |
Arg | Specifies the address of the location to return the keyboard identifier. |
This ioctl subroutine call is part of Base Operating System (BOS) Runtime.