<refentry id="keycode.element">
<?dbhtml filename="keycode.html"?>
<refentryinfo>
<pubdate>$Date$</pubdate>
<releaseinfo>$Revision$</releaseinfo>
</refentryinfo>

<refmeta>
<indexterm><primary>elements</primary>
<secondary>keycode</secondary></indexterm>
<refentrytitle>keycode</refentrytitle>
<refmiscinfo>Element</refmiscinfo>
</refmeta>
<refnamediv>
<refname>keycode</refname>
<refpurpose>&keycode.purpose;</refpurpose>
</refnamediv>

&keycode.synopsis.gen;
<refsect1 condition='ref.description'><title>Description</title>

<para>
The <sgmltag>KeyCode</sgmltag> identifies the numeric value associated with
a key on a computer keyboard. This is distinct from any scan code
that it may generate (<sgmltag>KeyCode</sgmltag>), or any symbolic name
(<sgmltag>KeySym</sgmltag>) that might exist for the key.
</para>

<refsect2><title>Processing expectations</title>
<para>
&format.inline;
</para>
</refsect2>


&keycode.parents.gen;
&keycode.children.gen;
</refsect1>
<refsect1 condition='ref.elem.seealso'><title>See Also</title>
&keycode.seealso.gen;
</refsect1>
<refsect1><title>Examples</title>

<informalexample role="example-source">
<programlisting>&keycode.example.1.txt;</programlisting>
</informalexample>

<anchor id="ex.os.keycode.1" role="HACK-ex.out.start"/>
&keycode.example.1.gen;
<anchor id="ex.oe.keycode.1" role="HACK-ex.out.end"/>

&keycode.example.seealso.gen;
</refsect1>
</refentry>

