47struct VirtualKeyToASCII {
55 const VirtualKeyToASCII * convTable;
59extern const CodePage CodePage437;
60extern const CodePage CodePage1252;
64 static int count() {
return 2; }
65 static CodePage
const * get(uint16_t codepage, CodePage
const * defaultValue = &CodePage437) {
66 static const CodePage * codepages[] = { &CodePage437, &CodePage1252 };
67 for (
int i = 0; i <
sizeof(CodePage) /
sizeof(CodePage*); ++i)
68 if (codepages[i]->codepage == codepage)
90int virtualKeyToASCII(VirtualKeyItem
const & item, CodePage
const * codepage);
This file contains some utility classes and functions.
VirtualKey
Represents each possible real or derived (SHIFT + real) key.