Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getkeyboardtype()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetKeyboardType()
Return information about the keyboard
------------------------------------------------------------------------------

Syntax
GetKeyboardType( <nIndex> )   -->   nInfo

Arguments
<nIndex> is an integer indicating the type of information
wanted.

Returns
If successful, a non-zero integer is returned.  Otherwise,
zero is returned.

Description
This function can be used to retrieve information depending on
the <nIndex> value as follows:

<nIndex>  return value        meaning

      0                       the keyboard type:
               1              IBM PC/XT 83-key
               2              Olivetti 102-key
               3              IBM AT 84-key
               4              IBM Enhanced 101-key or 102-key
               5              Nokia 1050 or similar
               6              Nokia 9140 or similar
               7              Standard Japanese

      1                       the keyboard subtype

      2                       the number of function keys

Example
? "keyboard type", GetKeyboardType( 0 )


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson