home *** CD-ROM | disk | FTP | other *** search
- /**
- *
- * Name KBSET -- Set the shift status.
- *
- * Synopsis kbset (pkeybd);
- *
- * const KEYSTATUS *pkeybd Keyboard status to set.
- *
- * Description KBSET controls the status of the shift key and other
- * control keys in the bit structure. If the flag in the
- * KEYSTATUS structure is set, the bit is turned on,
- * otherwise it is turned off.
- *
- * Returns Nothing.
- *
- * Version 6.00 (C)Copyright Blaise Computing Inc. 1987,1989
- *
- **/
-
-
- #include <bkeybrd.h>
- #include <butil.h>
-
-
- void kbset (pkeybd)
- const KEYSTATUS *pkeybd;
- {
- char tempchar;
- int tempint;
-
- utpokew (KB_SHIFTADDR, utpeekw (pkeybd));
- kbready (&tempchar, &tempint);
- }