const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="command"tabindex="-1">Command<aclass="header-anchor"href="#command"aria-label="Permalink to "Command""></a></h1><p>Command,formerlyknownasMagic,isawaytochangeyourkeyboard'sbehaviorwithouthavingtoflashorunplugittouse<ahref="./bootmagic">Bootmagic</a>.Thereisalotofoverlapbetweenthisfunctionalityandthe<ahref="./../keycodes_magic">MagicKeycodes</a>.WhereverpossibleweencourageyoutousethatfeatureinsteadofCommand.</p><p>OnsomekeyboardsCommandisdisabledbydefault.Ifthisisthecase,itmustbeexplicitlyenabledinyour<code>rules.mk</code>:</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=yes</span></span></code></pre></div><h2id="usage"tabindex="-1">Usage<aclass="header-anchor"href="#usage"aria-label="Permalinkto"Usage""></a></h2><p>TouseCommand,holddownthekeycombinationdefinedbythe<code>IS_COMMAND()</code>macro.BydefaultthisisLeftShift+RightShift.Then,pressthekeycorrespondingtothecommandyouwant.Forexample,tooutputthecurrentQMKversiontotheQMKToolboxconsole,pressLeftShift+RightShift+<code>V</code>.</p><h2id="configuration"tabindex="-1">Configuration<aclass="header-anchor"href="#configuration"aria-label="Permalinkto"Configuration""></a></h2><p>IfyouwouldliketochangethekeyassignmentsforCommand,<code>#define</code>theseinyour<code>config.h</code>ateitherthekeyboardorkeymaplevel.Allkeycodeassignmentsheremustomitthe<code>KC_</code>prefix.</p><table><thead><tr><th>Define</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>IS_COMMAND()</code></td><td><code>(get_mods()==MOD_MASK_SHIFT)</code></td><td>ThekeycombinationtoactivateCommand</td></tr><tr><td><code>MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS</code></td><td><code>true</code></td><td>SetdefaultlayerwiththeFunctionrow</td></tr><tr><td><code>MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS</code></td><td><code>true</code></td><td>Setdefaultlayerwiththenumberkeys</td></tr><tr><td><code>MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM</code></td><td><code>false</code></td><td>Setdefaultlayerwith<code>MAGIC_KEY_LAYER0..9</code></td></tr><tr><td><code>MAGIC_KEY_DEBUG</code></td><td><code>D</code></td><td>Toggledebuggingoverserial</td></tr><tr><td><code>MAGIC_KEY_DEBUG_MATRIX</code></td><td><code>X</code></td><td>Togglekeymatrixdebugging</td></tr><tr><td><code>MAGIC_KEY_DEBUG_KBD</code></td><td><code>K</code></td><td>Togglekeyboarddebugging</td></tr><tr><td><code>MAGIC_KEY_DEBUG_MOUSE</code></td><td><code>M</code></td><td>Togglemousedebugging</td></tr><tr><td><code>MAGIC_KEY_CONSOLE</code></td><td><code>C</code></td><td>EnabletheCommandconsole</td></tr><tr><td><code>MAGIC_KEY_VERSION</code></td><td><code>V</code></td><td>PrinttherunningQMKversiontotheconsole</td></tr><tr><td><code>MAGIC_KEY_STATUS</code></td><td><code>S</code></td><td>Printthecurrentkeyboardstatustotheconsole</td></tr><tr><td><code>MAGIC_KEY_HELP</code></td><td><code>H</code></td><td>PrintCommandhelptotheconsole</td></tr><tr><td><code>MAGIC_KEY_HELP_ALT</code></td><td><code>SLASH</code></td><td>PrintCommandhelptotheconsole(alternate)</td></tr><tr><td><code>MAGIC_KEY_LAYER0</code></td><td><code>0</code></td><td>Makelayer0thedefaultlayer</td></tr><tr><td><code>MAGIC_KEY_LAYER0_ALT</code></td><td><code>GRAVE</code></td><td>Makelayer0thedefaultlayer(alternate)</td></tr><tr><td><code>MAGIC_KEY_LAYER1</code></td><td><code>1</code></td><td>Makelayer1thedefaultlayer</td></tr><tr><td><code>MAGIC_KEY_LAYER2</code></td><td><code>2</code></td><td>Makelayer2thedefaultlayer</td></tr><tr><td><code>MAGIC_KEY_LAYER3</code></td><td><code>3</code></td><td>Makelayer3thedefault