Whole document tree
    

Whole document tree

KeyCap

KeyCap

Name

KeyCap -- Text printed on a physical key on a computer keyboard, not necessarily the same thing as a KeyCode

Description

Text printed on a physical key on a computer keyboard, not necessarily the same thing as a KeyCode. It may contain members of cptr.char.mix, and has common and MoreInfo attributes.

Attributes

MoreInfo

Indicates whether the element's content has an associated RefEntry.

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>