2.9.125 Kme

The Kme structure specifies a mapping of a shortcut key to a command to be executed.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

reserved1

reserved2

kcm1

kcm2

kt

param

...

reserved1 (2 bytes): This value MUST be 0.

reserved2 (2 bytes): This value MUST be 0.

kcm1 (2 bytes): A Kcm that specifies the primary shortcut key.

kcm2 (2 bytes): A Kcm that specifies the secondary shortcut key, or 0x00FF if there is no secondary shortcut key.

kt (2 bytes): A Kt that specifies the type of action to be taken when the key combination is pressed.

param (4 bytes):  The meaning of this field depends on the value of kt, as follows.

kt

param

ktCid

A Cid that specifies a command to be executed.

ktChar

A 4-byte unsigned integer that specifies a single character to be inserted. This value MUST be between 0 and 65535.

ktMask

This MUST be ignored.