<aname="l3"></a>A </span><spanclass=cF2>Char</span><spanclass=cF0>acter is a single byte holding an ASCII code for a letter, num or sym. The </span><spanclass=cF2>ZealOS</span><spanclass=cF0> term is a </span><spanclass=cF2>U8</span><spanclass=cF0>.
<aname="l5"></a>Standard ASCII values range from 0 to 127. Values below 32 are ctrl key's. So, an ASCII #3 is a </span><spanclass=cF2><CTRL-c></span><spanclass=cF0>. ZealOS uses a
<aname="l9"></a>ASCII #28 is </span><spanclass=cF2><SHIFT-ESC></span><spanclass=cF0>.
<aname="l10"></a>
<aname="l11"></a>ZealOS ASCII is 8-bit instead of 7-bit, so it also uses the range from 128-255. Press </span><spanclass=cF2><CTRL-ALT-a></span><spanclass=cF0> to see shapes for 128-255.
<aname="l12"></a>Technically, </span><spanclass=cF2><CTRL-ALT-a></span><spanclass=cF0> are </span><spanclass=cF4><u>screen codes</u></span><spanclass=cF0>.
<aname="l14"></a>A </span><spanclass=cF2>Key</span><spanclass=cF0> is typically specified with a scan code. ZealOS scan codes contain the key value in the lowest </span><spanclass=cF2>U8</span><spanclass=cF0>, and flags in the
<aname="l15"></a>upper 3 bytes. See </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l4188"><spanclass=cF4>Scan Code Flags</span></a><spanclass=cF0> and </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l4222"><spanclass=cF4>Scan Codes</span></a><spanclass=cF0>.
<aname="l19"></a></span><spanclass=cF2>Byte 1-3</span><spanclass=cF0> are </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l4171"><spanclass=cF4>flags</span></a><spanclass=cF0>
<aname="l23"></a></span><spanclass=cF2>Byte 5-7</span><spanclass=cF0> are </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l4171"><spanclass=cF4>flags</span></a><spanclass=cF0>
<aname="l25"></a>Run the program </span><ahref="https://zeal-operating-system.github.io/ZealOS/Demo/MessageLoop.CC.html#l1"><spanclass=cF4>::/Demo/MessageLoop.CC</span></a><spanclass=cF0> to examine scan code. Press </span><spanclass=cF2><CTRL-SHIFT-l></span><spanclass=cF0> and "Insert ASCII/ScanCode".
<aname="l27"></a>See </span><ahref="https://zeal-operating-system.github.io/ZealOS/Doc/KeyAlloc.DD.html#l1"><spanclass=cF4>Key Allocations</span></a><spanclass=cF0> and </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3671"><spanclass=cF4>CKbdStateGlobals</span></a><spanclass=cF0>.