2.9.316 Tcg255
The Tcg255 structure contains a sequence of structures that specify command-related customizations. The type of each structure is specified by its first byte with a special value that acts as a terminator.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rgtcgData (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
chTerminator |
rgtcgData (variable): A sequence of structures. Each structure is identified by its first byte, as follows.
-
First byte
Structure
0x01
A PlfMcd structure that specifies macro commands.
0x02
A PlfAcd structure that specifies allocated commands.
0x03
A PlfKme structure that contains key map entries (Kme). Each key map entry MUST specify at least a primary key code, and the entries MUST be unique with regards to the key codes they specify.
0x04
A PlfKme structure that contains key map entries (Kme). Unlike when the first byte is equal to 3, there are no restrictions on the Kme.kcm or Kme.kcm2 of each entry. If a keyboard key map entry does not specify at least a primary key code, that entry MUST be ignored. If two or more entries specify the same key codes, all except the first such entry MUST be ignored.
0x10
A TcgSttbf structure whose string table contains macro names and allocated command arguments.
0x11
A MacroNames structure that contains macro names.
0x12
A CTBWRAPPER structure that specifies toolbar customizations.
chTerminator (1 byte): An unsigned integer that specifies a terminator for the sequence. This value MUST be 0x40.