const__pageData=JSON.parse('{"title":"Space Cadet: The Future, Built In","description":"","frontmatter":{},"headers":[],"relativePath":"features/space_cadet.md","filePath":"features/space_cadet.md"}');
const_sfc_main={name:"features/space_cadet.md"};
const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="space-cadet-the-future-built-in"tabindex="-1">SpaceCadet:TheFuture,BuiltIn<aclass="header-anchor"href="#space-cadet-the-future-built-in"aria-label="Permalink to "Space Cadet: The Future, Built In""></a></h1><p>SteveLoshdescribedthe<ahref="https://web.archive.org/web/20230330090938/https://stevelosh.com/blog/2012/10/a-modern-space-cadet/"target="_blank"rel="noreferrer">SpaceCadetShift</a>quitewell.Essentially,whenyoutapLeftShiftonitsown,yougetanopeningparenthesis;tapRightShiftonitsownandyougettheclosingone.Whenheld,theShiftkeysfunctionasnormal.Yes,it'sascoolasitsounds,andnowevencoolersupportingControlandAltaswell!</p><h2id="usage"tabindex="-1">Usage<aclass="header-anchor"href="#usage"aria-label="Permalinkto"Usage""></a></h2><p>Firstly,inyourkeymap,dooneofthefollowing:</p><ul><li>ReplacetheLeftShiftkeywith<code>SC_LSPO</code>(LeftShift,ParenthesisOpen),andRightShiftwith<code>SC_RSPC</code>(RightShift,ParenthesisClose).</li><li>ReplacetheLeftControlkeywith<code>SC_LCPO</code>(LeftControl,ParenthesisOpen),andRightControlwith<code>SC_RCPC</code>(RightControl,ParenthesisClose).</li><li>ReplacetheLeftAltkeywith<code>SC_LAPO</code>(LeftAlt,ParenthesisOpen),andRightAltwith<code>SC_RAPC</code>(RightAlt,ParenthesisClose).</li><li>ReplaceanyShiftkeyinyourkeymapwith<code>SC_SENT</code>(RightShift,Enter).</li></ul><h2id="keycodes"tabindex="-1">Keycodes<aclass="header-anchor"href="#keycodes"aria-label="Permalinkto"Keycodes""></a></h2><table><thead><tr><th>Keycode</th><th>Aliases</th><th>Description</th></tr></thead><tbody><tr><td><code>QK_SPACE_CADET_LEFT_CTRL_PARENTHESIS_OPEN</code></td><td><code>SC_LCPO</code></td><td>LeftControlwhenheld,<code>(</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_RIGHT_CTRL_PARENTHESIS_CLOSE</code></td><td><code>SC_RCPC</code></td><td>RightControlwhenheld,<code>)</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN</code></td><td><code>SC_LSPO</code></td><td>LeftShiftwhenheld,<code>(</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_RIGHT_SHIFT_PARENTHESIS_CLOSE</code></td><td><code>SC_RSPC</code></td><td>RightShiftwhenheld,<code>)</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_LEFT_ALT_PARENTHESIS_OPEN</code></td><td><code>SC_LAPO</code></td><td>LeftAltwhenheld,<code>(</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_RIGHT_ALT_PARENTHESIS_CLOSE</code></td><td><code>SC_RAPC</code></td><td>RightAltwhenheld,<code>)</code>whentapped</td></tr><tr><td><code>QK_SPACE_CADET_RIGHT_SHIFT_ENTER</code></td><td><code>SC_SENT</code></td><td>RightShiftwhenheld,Enterwhentapped</td></tr></tbody></table><h2id="caveats"tabindex="-1">Caveats<aclass="header-anchor"href="#caveats"aria-label="Permalinkto"Caveats""></a></h2><p>SpaceCadet'sfunctionalitycanconflictwiththedefaultCommandfunctionalitywhenbothShiftkeysareheldatthesametime.Seethe<ahref="./command">Commandfeature</a>forinfoonhowtochangeit,ormakesurethatCommandisdisabledinyour<code>rules.mk</code>with:</p><divclass="language-makevp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang">make</span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">COMMAND_ENABLE=no</span></span></code></pre></div><h2id="configuration"tabindex="-1">Configuration<aclass="header-anchor"href="#configuration"aria-label="Permalinkto"Configuration""></a></h2><p>BydefaultSpaceCadetassumesaUSANSIlayout,butifyourlayoutusesdifferentkeysforparentheses,youcanredefinetheminyour<code>config.h</code>.Inaddition,youcanredefinethemodifiertosendontap,orevensendnomodifieratall.Thenewconfi