Ah, the good old days of ASCII.... What about BAUDOT? Who decided it was obsolete?!! Maybe I'm getting old....
The problem with dbScanCode() is that it returns only one value (either the first or the last in sequence.... Don't remember). It won't accurately reflect true if more than one key is pressed at the same time. Use "int dbKeyState ( int iScanCode )" instead. You have to make a map of the keys on your keyboard that you want to use, but that's not a big deal. Almost all games have a keymapping option now (unless it's very simple).
The fastest code is the code never written.