ZealOS/docs/Doc/KeyAlloc.DD.html

60 lines
4.9 KiB
HTML
Raw Normal View History

2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
2021-08-17 07:47:37 +01:00
<meta name="generator" content="ZealOS V1.00">
2021-07-03 05:07:57 +01:00
<style type="text/css">
body {background-color:#fef1f0;}
.cF0{color:#000000;background-color:#fef1f0;}
.cF1{color:#0148a4;background-color:#fef1f0;}
.cF2{color:#3b7901;background-color:#fef1f0;}
.cF3{color:#057c7e;background-color:#fef1f0;}
.cF4{color:#bb2020;background-color:#fef1f0;}
.cF5{color:#9e42ae;background-color:#fef1f0;}
.cF6{color:#b57901;background-color:#fef1f0;}
.cF7{color:#b2b6af;background-color:#fef1f0;}
.cF8{color:#555753;background-color:#fef1f0;}
.cF9{color:#678fbb;background-color:#fef1f0;}
.cFA{color:#82bc49;background-color:#fef1f0;}
.cFB{color:#0097a2;background-color:#fef1f0;}
.cFC{color:#e26a6a;background-color:#fef1f0;}
.cFD{color:#c671bc;background-color:#fef1f0;}
.cFE{color:#c7ab00;background-color:#fef1f0;}
.cFF{color:#fef1f0;background-color:#fef1f0;}
2021-07-03 05:07:57 +01:00
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><span class=cF5> Key Allocations</span><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l2"></a>
<a name="l3"></a>See </span><span class=cF4><u>Char</u></span><span class=cF0> for definition of scan codes.
<a name="l4"></a>
<a name="l5"></a>See </span><span class=cF9><u>Key Map</u></span><span class=cF0> for a detailed list of key commands.
<a name="l6"></a>
<a name="l7"></a>When you are at the cmd line, editing documents, browsing documentation and help, entering items in forms or in menu's, the </span><span class=cF4>
<a name="l8"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1502"><span class=cF4>DolDoc</span></a><span class=cF0> editor handles keys. It allows you to define your own key handlers in a </span><a href="https://zeal-operating-system.github.io/ZealOS/Home/HomeKeyPlugIns.CC.html#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() function. If you choose, you can
<a name="l9"></a>catch keys, overriding the default handlers. See </span><a href="https://zeal-operating-system.github.io/ZealOS/System/DolDoc/DocPutKey.CC.html#l3"><span class=cF4>DocPutKey</span></a><span class=cF0>(). The following is an overview of key allocations.
2021-07-03 05:07:57 +01:00
<a name="l10"></a>
<a name="l11"></a></span><span class=cF2>&lt;ALT-keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;ALT-SHIFT-keys&gt;</span><span class=cF0> Free for user configurations in your </span><a href="https://zeal-operating-system.github.io/ZealOS/Home/HomeKeyPlugIns.CC.html#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() handler, except for </span><span class=cF2>ALT-BACKSPACE</span><span class=cF0> (undo).
2021-07-03 05:07:57 +01:00
<a name="l12"></a>There are a few examples pre-defined, but you can change them if you wish.
<a name="l13"></a>
<a name="l14"></a></span><span class=cF2>&lt;CTRL-ALT-keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;CTRL-ALT-SHIFT-keys&gt;</span><span class=cF0> Handled at a system level, NOT by the </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1502"><span class=cF4>CDoc</span></a><span class=cF0> editor. You can define your own
<a name="l15"></a>handlers with </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KeyDev.CC.html#l201"><span class=cF4>CtrlAltCBSet</span></a><span class=cF0>(). They operate either in a interrupt environment or in the window mgr when it queues kbd
<a name="l16"></a>messages. You can do </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.CC.html#l257"><span class=cF4>Raw</span></a><span class=cF0>() output. </span><span class=cF2>&lt;CTRL-ALT-letter&gt;</span><span class=cF0> handlers take a scan_code as an arg.
2021-07-03 05:07:57 +01:00
<a name="l17"></a>
<a name="l18"></a></span><span class=cF2>&lt;CTRL-function key&gt;</span><span class=cF0> Auto-completes local words.
2021-07-03 05:07:57 +01:00
<a name="l19"></a>
<a name="l20"></a></span><span class=cF2>&lt;CTRL-digit key&gt;</span><span class=cF0> Auto-completes dictionary words.
2021-07-03 05:07:57 +01:00
<a name="l21"></a>
<a name="l22"></a></span><span class=cF2>&lt;CTRL-SHIFT-function key&gt;</span><span class=cF0> Jumps to src code.
2021-07-03 05:07:57 +01:00
<a name="l23"></a>
<a name="l24"></a></span><span class=cF2>&lt;CTRL-SHIFT-digit key&gt;</span><span class=cF0> Jumps to dictionary definition.
2021-07-03 05:07:57 +01:00
<a name="l25"></a>
<a name="l26"></a></span><span class=cF2>&lt;function keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;SHIFT-function keys&gt;</span><span class=cF0> There are some free for now.
<a name="l27"></a>
<a name="l28"></a></span><span class=cF2>&lt;CTRL-key&gt;</span><span class=cF0> and </span><span class=cF2>&lt;CTRL-SHIFT-key&gt;</span><span class=cF0> There are not many free.</span><span class=cF8>
<a name="l29"></a></span><span class=cF0>
<a name="l30"></a>See </span><span class=cF4><u>Keyboard Devices</u></span><span class=cF0>.
</span></pre></body>
</html>