Home |
RTTarget-32 Programming Manual Function RTSetCodepageTranslation Function RTInsertKeyboardScanCode System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTInsertKeyboardScanCodeFunction RTInsertKeyboardScanCode can be used to insert a raw keyboard scan code value into the application's user input queue: void RTInsertKeyboardScanCode(BYTE ScanCode); Parameter ScanCode is a raw value received from a PS/2 keyboard port. If bit 7 is set, the scan code is interpreted as a key-release event. RTTarget-32's keyboard driver retrieves scan code in its keyboard interrupt handler and then calls RTInsertKeyboardScanCode. RTInsertKeyboardScanCode translates the scan code to a complete user input event (Win32 data type INPUT_RECORD) using the currently installed keyboard translation tables and selected language (see functions RTSetKeyboardTables and RTSetFlags). Function RTSetCodepageTranslation
|