|
Mac OS 9
|
#include <UnicodeUtilities.h>
Data Fields | |
| UInt32 | keyboardTypeFirst |
| UInt32 | keyboardTypeLast |
| ByteOffset | keyModifiersToTableNumOffset |
| ByteOffset | keyToCharTableIndexOffset |
| ByteOffset | keyStateRecordsIndexOffset |
| ByteOffset | keyStateTerminatorsOffset |
| ByteOffset | keySequenceDataIndexOffset |
UCKeyboardLayout & related stuff The UCKeyboardLayout struct given here is only for the resource header. It specifies offsets to the various subtables which each have their own structs, given below. The keyboardTypeHeadList array selects table offsets that depend on keyboardType. The first entry in keyboardTypeHeadList is the default entry, which will be used if the keyboardType passed to UCKeyTranslate does not match any other entry - i.e. does not fall within the range keyboardTypeFirst..keyboardTypeLast for some entry. The first entry should
| UInt32 UCKeyboardTypeHeader::keyboardTypeLast |
first keyboardType in this entry
| ByteOffset UCKeyboardTypeHeader::keyModifiersToTableNumOffset |
last keyboardType in this entry
| ByteOffset UCKeyboardTypeHeader::keySequenceDataIndexOffset |
0 => no table
| ByteOffset UCKeyboardTypeHeader::keyStateRecordsIndexOffset |
required
| ByteOffset UCKeyboardTypeHeader::keyStateTerminatorsOffset |
0 => no table
| ByteOffset UCKeyboardTypeHeader::keyToCharTableIndexOffset |
required