Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_kbeflags() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_KBEFLAGS()

 DESCRIPTION

 C_KBEFLAGS() determines the status of various keyboard flags for an
 extended keyboard including the Shift, left and right Alt, left and
 right Ctrl, Num Lock, Caps Lock, Scroll Lock, Insert, and SysReq keys.

 SYNTAX

 C_KBEFLAGS()

 PARAMETERS

 There are no parameters.

 RETURNS

 C_KBEFLAGS() returns a character string containing the status of
 the various keyboard flags.  The following are the values returned
 in the string.

 CODE   DESCRIPTION
 ----   -----------
 R      Right shift key down
 L      Left shift key down
       Either Ctrl key down
 A      Either Alt key down
 S      Scroll Lock on
 N      Num Lock on
 C      Caps Lock on
 I      Insert on (not the same as Clipper's READINSERT())
 1      Left Ctrl key down
 2      Left Alt key down
 3      Right Ctrl key down
 4      Right Alt key down
 5      Scroll Lock key is down
 6      Num Lock key is down
 7      Caps Lock key is down
 8      SysReq key is down

 EXAMPLES

 c_kbeflags()--> NC      && num and caps lock on
 c_kbeflags()-->     && num & caps on, left ctrl & alt down
 c_kbeflags()--> N6      && num lock on and pressed down
 c_kbeflags()-->         && nothing on or down


See Also: C_KBFLAGS() C_KEYBOARD() C_ISEXTKB()

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