codepage_entry_t
Declaration
typedef struct {
uchar scanCode;
uchar asciiCode;
} codepage_entry_t
Prototype In
event.h
Description
Structure describing an entry in the code page table. A table of translation codes for scan codes to ASCII codes is provided in this table to be used by the keyboard event libraries. On some OS'es the keyboard translation is handled by the OS, but for DOS and embedded systems you must register a different code page translation table if you want to support keyboards other than the US English keyboard (the default).
Note: Entries in code page tables must be in ascending order for the scan codes as we do a binary search on the tables for the ASCII code equivalents.
Members
scanCode |
Scan code to translate (really the virtual scan code). |
asciiCode |
ASCII code for this scan code. |
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com