Home |
RTKernel-32 Programming Manual Function KBPutCh |
Function KBPutChKBPutCh places a character in the keyboard buffer: void KBPutCh(char C, char ScanCode); ParametersCThe ASCII value of the key. ScanCodeFor normal keys, ScanCode is ignored and may be zero. For extended keys without ASCII representation, parameter C should be zero and ScanCode is the keyboard scan code of that key. Keys placed in the keyboard buffer with KBPutCh can only be retrieved with KBGetCh. To place keystrokes in the input queue for other input functions under On Time RTOS-32, use Win32 API function WriteConsoleInput.
|