Whole document tree
    

Whole document tree

KeyCode

KeyCode

Name

KeyCode -- Computer's numeric designation of a key on a computer keyboard

Content Model

  (#PCDATA | Replaceable | InlineGraphic)+

Attributes

This element has common and Role attributes.

Tag Minimization

Both the start- and end-tags are required for this element.

Description

Computer's numeric designation of a key on a computer keyboard. Keycode contains plain text, Replaceable, and InlineGraphic, and has common attributes.

Children

KeyCode contains these elements: InlineGraphic, #PCDATA, Replaceable.

In some contexts, some of these elements may be invalid due to exclusions in parent elements.

Examples

<PARA>
Key terminology is tricky.  The KeyCap <KEYCAP>R</KEYCAP>
on your keyboard stands for both <TOKEN>R</TOKEN> and 
<TOKEN>r</TOKEN>.  A KeyCode is a computer's internal 
numeric representation of that point of input; the KeyCode 
for that <KEYCAP>R</KEYCAP> key could be <KEYCODE>36</KEYCODE> 
for all you know.  And a KeySym, or key symbol name, is not
necessarily the same thing as a Keycap.  For example, the Keysym for
the <KEYCAP>R</KEYCAP> key might be <KEYSYM>h</KEYSYM>.            
</PARA>