[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, Volume 2

KSQUERYID (Query Keyboard Device Identifier)

Purpose

Queries keyboard device identifier.

Syntax

#include <sys/inputdd.h>
int ioctl (FileDescriptor, KSQUERYID, Arg)
int FileDescriptor;
uint *Arg;

Description

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   /* .......*/

Parameters

FileDescriptor Specifies the open file descriptor for the keyboard.
Arg Specifies the address of the location to return the keyboard identifier.

Implementation Specifics

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]