ZealOS/docs/Doc/KeyAlloc.DD.html

60 lines
4.8 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">
<meta name="generator" content="ZealOS V0.05">
<style type="text/css">
body {background-color:#000000;}
.cF0{color:#ffffff;background-color:#000000;}
.cF1{color:#3465a4;background-color:#000000;}
.cF2{color:#4e9a06;background-color:#000000;}
.cF3{color:#06989a;background-color:#000000;}
.cF4{color:#a24444;background-color:#000000;}
.cF5{color:#75507b;background-color:#000000;}
.cF6{color:#ce982f;background-color:#000000;}
.cF7{color:#bcc0b9;background-color:#000000;}
.cF8{color:#555753;background-color:#000000;}
.cF9{color:#729fcf;background-color:#000000;}
.cFA{color:#82bc49;background-color:#000000;}
.cFB{color:#34e2e2;background-color:#000000;}
.cFC{color:#ac3535;background-color:#000000;}
.cFD{color:#ad7fa8;background-color:#000000;}
.cFE{color:#fce94f;background-color:#000000;}
.cFF{color:#000000;background-color:#000000;}
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
2021-07-03 05:07:57 +01:00
<a name="l1"></a><span class=cF5> Key Allocations</span><span class=cF0>
<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://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1501"><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://tomawezome.github.io/ZealOS/Home/HomeKeyPlugIns.CC.html#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() function. If you choose, you can catch
<a name="l9"></a>keys, overriding the default handlers. See </span><a href="https://tomawezome.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://tomawezome.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://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1501"><span class=cF4>CDoc</span></a><span class=cF0> editor. You can define your own handlers
<a name="l15"></a>with </span><a href="https://tomawezome.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 messages. You
<a name="l16"></a>can do </span><a href="https://tomawezome.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>