Mac OS 9
UCKeyboardTypeHeader Struct Reference

#include <UnicodeUtilities.h>

Data Fields

UInt32 keyboardTypeFirst
 
UInt32 keyboardTypeLast
 
ByteOffset keyModifiersToTableNumOffset
 
ByteOffset keyToCharTableIndexOffset
 
ByteOffset keyStateRecordsIndexOffset
 
ByteOffset keyStateTerminatorsOffset
 
ByteOffset keySequenceDataIndexOffset
 

Detailed Description


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

have keyboardTypeFirst = keyboardTypeLast = 0.

Field Documentation

◆ keyboardTypeLast

UInt32 UCKeyboardTypeHeader::keyboardTypeLast

first keyboardType in this entry

◆ keyModifiersToTableNumOffset

ByteOffset UCKeyboardTypeHeader::keyModifiersToTableNumOffset

last keyboardType in this entry

◆ keySequenceDataIndexOffset

ByteOffset UCKeyboardTypeHeader::keySequenceDataIndexOffset

0 => no table

◆ keyStateRecordsIndexOffset

ByteOffset UCKeyboardTypeHeader::keyStateRecordsIndexOffset

required

◆ keyStateTerminatorsOffset

ByteOffset UCKeyboardTypeHeader::keyStateTerminatorsOffset

0 => no table

◆ keyToCharTableIndexOffset

ByteOffset UCKeyboardTypeHeader::keyToCharTableIndexOffset

required


The documentation for this struct was generated from the following file: