import{_ase,cast,oasa,Naso}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: features/hotkey","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/hotkey.md","lastUpdated":null}'),r={name:"api/modules/features/hotkey.md"},d=o('<h1id="module-features-hotkey"tabindex="-1">Module:features/hotkey<aclass="header-anchor"href="#module-features-hotkey"aria-label="Permalink to "Module: features/hotkey""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="basehotkey"tabindex="-1">BaseHotkey<aclass="header-anchor"href="#basehotkey"aria-label="Permalinkto"BaseHotkey""></a></h3><p>•<strong>BaseHotkey</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./hotkey#hotkeyoptions">HotkeyOptions</a>tocreatean<ahref="./hotkey#hotkey">Hotkey</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>type</code></td><tdstyle="text-align:left;">typeof<ahref="./hotkey#hotkeytype"><code>HotkeyType</code></a></td><tdstyle="text-align:left;">Asymbolthathelpsidentifyfeaturesofthesametype.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/c9ca859/src/features/hotkey.tsx#L40"target="_blank"rel="noreferrer">profectus/src/features/hotkey.tsx:40</a></p><hr><h3id="hotkeyoptions"tabindex="-1">HotkeyOptions<aclass="header-anchor"href="#hotkeyoptions"aria-label="Permalinkto"HotkeyOptions""></a></h3><p>•<strong>HotkeyOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresa<ahref="./hotkey#hotkey">Hotkey</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>description</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>string</code>></td><tdstyle="text-align:left;">Thedescriptionofthishotkey,todisplayinthesettings.</td></tr><tr><tdstyle="text-align:left;"><code>enabled?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>boolean</code>></td><tdstyle="text-align:left;">Whetherornotthishotkeyiscurrentlyenabled.</td></tr><tr><tdstyle="text-align:left;"><code>key</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">Thekeytiedtothishotkey</td></tr><tr><tdstyle="text-align:left;"><code>onPress</code></td><tdstyle="text-align:left;"><code>VoidFunction</code></td><tdstyle="text-align:left;">Whattodouponpressingthekey.</td></tr></tbody></table><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/c9ca859/src/features/hotkey.tsx#L26"target="_blank"rel="noreferrer">profectus/src/features/hotkey.tsx:26</a></p><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="generichotkey"tabindex="-1">GenericHotkey<aclass="header-anchor"href="#generichotkey"aria-label="Permalinkto"GenericHotkey""></a></h3><p>Ƭ<strong>GenericHotkey</strong>:<ahref="./feature#replace"><code>Replace</code></a><<code>Hotkey</code><<ahref="./hotkey#hotkeyoptions"><code>HotkeyOptions</code></a>>,{<code>enabled</code>:<ahref="./../util/computed#processedcomputable"><code>Processed