qmk_firmware/reference_info_json.html

46 lines
146 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>info.json Reference | QMK Firmware</title>
<meta name="description" content="Documentation for QMK Firmware">
<meta name="generator" content="VitePress v1.1.3">
<link rel="preload stylesheet" href="/assets/style.No8zk9aC.css" as="style">
<script type="module" src="/assets/app.C_5fWKwx.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.DyMmIvSC.js">
<link rel="modulepreload" href="/assets/chunks/theme.CWZgeIuY.js">
<link rel="modulepreload" href="/assets/reference_info_json.md.CEbbd-o6.lean.js">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-5d98c3a5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-0f60ec36></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0f60ec36> Skip to content </a><!--]--><!----><header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad><div class="VPNavBar has-sidebar top" data-v-ae24b3ad data-v-ccf7ddec><div class="wrapper" data-v-ccf7ddec><div class="container" data-v-ccf7ddec><div class="title" data-v-ccf7ddec><div class="VPNavBarTitle has-sidebar" data-v-ccf7ddec data-v-ab179fa1><a class="title" href="/" data-v-ab179fa1><!--[--><!--]--><!--[--><!--[--><!--[--><img class="VPImage dark logo" src="/qmk-logo-dark.svg" alt data-v-8426fc1a><!--]--><!--[--><img class="VPImage light logo" src="/qmk-logo-light.svg" alt data-v-8426fc1a><!--]--><!--]--><!--]--><span data-v-ab179fa1>QMK Firmware</span><!--[--><!--]--></a></div></div><div class="content" data-v-ccf7ddec><div class="content-body" data-v-ccf7ddec><!--[--><!--]--><div class="VPNavBarSearch search" data-v-ccf7ddec><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-ccf7ddec data-v-7f418b0f><span id="main-nav-aria-label" class="visually-hidden" data-v-7f418b0f>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="./" tabindex="0" data-v-7f418b0f data-v-9c663999><!--[--><span data-v-9c663999>Home</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-ccf7ddec data-v-e6aabb21><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-e6aabb21 data-v-d1f28634 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-d1f28634></span><span class="vpi-moon moon" data-v-d1f28634></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-ccf7ddec data-v-0394ad82 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://reddit.com/r/olkb" aria-label target="_blank" rel="noopener" data-v-7bc22406 data-v-eee4e7cb><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 29 3 C 28.0625 3 27.164063 3.382813 26.5 4 C 25.835938 4.617188 25.363281 5.433594 25 6.40625 C 24.355469 8.140625 24.085938 10.394531 24.03125 13.03125 C 19.234375 13.179688 14.820313 14.421875 11.28125 16.46875 C 10.214844 15.46875 8.855469 14.96875 7.5 14.96875 C 6.089844 14.96875 4.675781 15.511719 3.59375 16.59375 C 1.425781 18.761719 1.425781 22.238281 3.59375 24.40625 L 3.84375 24.65625 C 3.3125 26.035156 3 27.488281 3 29 C 3 33.527344 5.566406 37.585938 9.5625 40.4375 C 13.558594 43.289063 19.007813 45 25 45 C 30.992188 45 36.441406 43.289063 40.4375 40.4375 C 44.433594 37.585938 47 33.527344 47 29 C 47 27.488281 46.6875 26.035156 46.15625 24.65625 L 46.40625 24.40625 C 48.574219 22.238281 48.574219 18.761719 46.40625 16.59375 C 45.324219 15.511719 43.910156 14.96875 42.5 14.96875 C 41.144531 14.96875 39.785156 15.46875 38.71875 16.46875 C 35.195313 14.433594 30.800781 13.191406 26.03125 13.03125 C 26.09375 10.546875 26.363281 8.46875 26.875 7.09375 C 27.164063 6.316406 27.527344 5.757813 27.875 5.4375 C 28.222656 5.117188 28.539063 5 29 5 C 29.460938 5 29.683594 5.125 30.03125 5.40625 C 30.378906 5.6875 30.785156 6.148438 31.3125 6.6875 C 32.253906 7.652344 33.695313 8.714844 36.09375 8.9375 C 36.539063 11.238281 38.574219 13 41 13 C 43.75 13 46 10.75 46 8 C 46 5.25 43.75 3 41 3 C 38.605469 3 36.574219 4.710938 36.09375 6.96875 C 34.3125 6.796875 33.527344 6.109375 32.75 5.3125 C 32.300781 4.851563 31.886719
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;rgb_matrix&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;rgblight&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></li><li><code>qmk</code><ul><li><code>locking</code><ul><li><code>enabled</code><ul><li>Enable locking switch support.</li><li>Default: <code>false</code></li></ul></li><li><code>resync</code><ul><li>Keep switch state consistent with keyboard LED state.</li><li>Default: <code>false</code></li></ul></li></ul></li><li><code>tap_capslock_delay</code><ul><li>The delay between keydown and keyup for Caps Lock tap events in milliseconds.</li><li>Default: <code>80</code> (80 ms)</li></ul></li><li><code>tap_keycode_delay</code><ul><li>The delay between keydown and keyup for tap events in milliseconds.</li><li>Default: <code>0</code> (no delay)</li></ul></li></ul></li><li><code>tapping</code><ul><li><code>hold_on_other_key_press</code><ul><li>Default: <code>false</code></li></ul></li><li><code>hold_on_other_key_press_per_key</code><ul><li>Default: <code>false</code></li></ul></li><li><code>permissive_hold</code><ul><li>Default: <code>false</code></li></ul></li><li><code>permissive_hold_per_key</code><ul><li>Default: <code>false</code></li></ul></li><li><code>retro</code><ul><li>Default: <code>false</code></li></ul></li><li><code>retro_per_key</code><ul><li>Default: <code>false</code></li></ul></li><li><code>term</code><ul><li>Default: <code>200</code> (200 ms)</li></ul></li><li><code>term_per_key</code><ul><li>Default: <code>false</code></li></ul></li><li><code>toggle</code><ul><li>Default: <code>5</code></li></ul></li></ul></li></ul><h2 id="apa102" tabindex="-1">APA102 <a class="header-anchor" href="#apa102" aria-label="Permalink to &quot;APA102 {#apa102}&quot;"></a></h2><p>Configures the <a href="./drivers/apa102">APA102</a> driver.</p><ul><li><code>apa102</code><ul><li><code>clock_pin</code> (Required) <ul><li>The GPIO pin connected to <code>CI</code> on the first LED in the chain.</li></ul></li><li><code>data_pin</code> (Required) <ul><li>The GPIO pin connected to <code>DI</code> on the first LED in the chain.</li></ul></li><li><code>default_brightness</code><ul><li>The initial global brightness level (independent of the RGB data), from 0 to 31.</li><li>Default: <code>31</code></li></ul></li></ul></li></ul><h2 id="audio" tabindex="-1">Audio <a class="header-anchor" href="#audio" aria-label="Permalink to &quot;Audio {#audio}&quot;"></a></h2><p>Configures the <a href="./features/audio">Audio</a> feature.</p><ul><li><code>audio</code><ul><li><code>default</code><ul><li><code>on</code><ul><li>The default audio enabled state.</li><li>Default: <code>true</code></li></ul></li><li><code>clicky</code><ul><li>The default audio clicky enabled state.</li><li>Default: <code>true</code></li></ul></li></ul></li><li><code>driver</code><ul><li>The driver to use. Must be one of <code>dac_additive</code>, <code>dac_basic</code>, <code>pwm_software</code>, <code>pwm_hardware</code>.</li></ul></li><li><code>macro_beep</code><ul><li>Play a short beep for <code>\a</code> (ASCII <code>BEL</code>) characters in Send String macros.</li><li>Default: <code>false</code></li></ul></li><li><code>pins</code> (Required) <ul><li>The GPIO pin(s) connected to the speaker(s).</li></ul></li><li><code>power_control</code><ul><li><code>on_state</code><ul><li>The logical GPIO state required to turn the speaker on.</li><li>Default: <code>1</code> (on = high)</li></ul></li><li><code>pin</code><ul><li>The GPIO pin connected to speaker power circuit.</li></ul></li></ul></li><li><code>voices</code><ul><li>Use multiple audio voices.</li><li>Default: <code>false</code></li></ul></li></ul></li></ul><h2 id="backlight" tabindex="-1">Backlight <a class="header-anchor" href="#backlight" aria-label="Permalink to &quot;Backlight {#backlight}&quot;"></a></h2><p>Configures the <a href="./features/backlight">Backlight</a> feature.</p><ul><li><code>backlight</code><ul><li><code>as_caps_lock</code><ul><li>Use the backlight as a Caps Lock indicator.</li><li>Default: <code>false</code></li></ul></li><li><code>breathing</code><ul><li>Whether backlight breathing is enab
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;LAYOUT_ansi&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;LAYOUT_60_ansi&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;LAYOUT_iso&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;LAYOUT_60_iso&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></li><li><code>layouts</code><ul><li>A dictionary of layouts supported by the keyboard.</li><li><code>LAYOUT_&lt;layout_name&gt;</code><ul><li><code>layout</code><ul><li>A list of key dictionaries comprising the layout. Each key dictionary contains: <ul><li><code>matrix</code> (Required) <ul><li>The matrix position for the key.</li><li>Example: <code>[0, 4]</code> (row 0, column 4)</li></ul></li><li><code>x</code> (Required) <ul><li>The absolute position of the key in the horizontal axis, in key units.</li></ul></li><li><code>y</code> (Required) <ul><li>The absolute position of the key in the vertical axis, in key units.</li></ul></li><li><code>h</code><ul><li>The height of the key, in key units.</li><li>Default: <code>1</code> (1u)</li></ul></li><li><code>label</code><ul><li>What to name the key. This is <em>not</em> a key assignment as in the keymap, but should usually correspond to the keycode for the first layer of the default keymap.</li><li>Example: <code>&quot;Escape&quot;</code></li></ul></li><li><code>r</code><ul><li>The rotation angle in degrees. Currently not implemented.</li></ul></li><li><code>rx</code><ul><li>The absolute X position of the rotation axis. Currently not implemented.</li></ul></li><li><code>ry</code><ul><li>The absolute Y position of the rotation axis. Currently not implemented.</li></ul></li><li><code>w</code><ul><li>The width of the key, in key units.</li><li>Default: <code>1</code> (1u)</li></ul></li><li><code>encoder</code><ul><li>The index of an encoder this key should be linked to</li></ul></li><li>Example: <code>{&quot;label&quot;: &quot;Shift&quot;, &quot;matrix&quot;: [4, 0], &quot;x&quot;: 0, &quot;y&quot;: 4.25, &quot;w&quot;: 2.25}</code></li></ul></li></ul></li></ul></li></ul></li></ul><h2 id="leader-key" tabindex="-1">Leader Key <a class="header-anchor" href="#leader-key" aria-label="Permalink to &quot;Leader Key {#leader-key}&quot;"></a></h2><p>Configures the <a href="./features/leader_key">Leader Key</a> feature.</p><ul><li><code>leader_key</code><ul><li><code>timing</code><ul><li>Reset the <code>timeout</code> on each keypress.</li><li>Default: <code>false</code></li></ul></li><li><code>strict_processing</code><ul><li>Do not extract the tap keycodes from Layer-Tap and Mod-Tap key events.</li><li>Default: <code>false</code></li></ul></li><li><code>timeout</code><ul><li>The amount of time to complete a leader sequence in milliseconds.</li><li>Default: <code>300</code> (300 ms)</li></ul></li></ul></li></ul><h2 id="led-matrix" tabindex="-1">LED Matrix <a class="header-anchor" href="#led-matrix" aria-label="Permalink to &quot;LED Matrix {#led-matrix}&quot;"></a></h2><p>Configures the <a href="./features/led_matrix">LED Matrix</a> feature.</p><ul><li><code>led_matrix</code><ul><li><code>animations</code><ul><li>A dictionary of effects to enable or disable. Effects which are absent default to <code>false</code>.</li><li>Example:</li></ul><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;alphas_mods&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;breathing&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;cycle_left_right&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></li><li><code>center_point</code><ul><li>The centroid (geometric center) of the LEDs. Used for certain effects.</li><li>Default: <code>[112, 32]</code></li></ul></li><li><code>default</code><ul><li><code>animation</code><ul><li>The default effect. Must be one of <code>led_matrix.animations</code></li><li>Default: <code>&quot;solid&quot;</code></li></ul></li><li><code>on</code><ul><li>The default enabled state.</li><li>Default: <code>true</code></li></ul></li><li><code>val</code><ul><li>The default brightness level.</li><li>Default: <code>max_brightness</code></li></ul></li><li><code>speed</code><ul><li>The default animation speed.</li><li>Default: <code>128</code></li></ul></li></ul></li><li><code>driver</code> (Required) <ul><li>The driver to use. Must be one of <code>custom</code>, <code>is31fl3218</code>, <code>is31fl3731</code>, <code>is31fl3733</code>, <code>is31fl3736</code>, <code>is31fl3737</code>, <code>is31fl3741</code>, <code>is31fl3742a</code>, <code>is31fl3743a</code>, <code>is31fl3745</code>, <code>is31fl3746a</code>, <code>snled27351</code>.</li></ul></li><li><code>layout</code> (Required) <ul><li>List of LED configuration dictionaries. Each dictionary contains: <ul><li><code>flags</code> (Required) <ul><li>A bitfield of flags describing the type of LED.</li></ul></li><li><code>x</code> (Required) <ul><li>The position of the LED in the horizontal axis, from 0 to 224.</li></ul></li><li><code>y</code> (Required) <ul><li>The position of the LED in the vertical axis, from 0 to 64.</li></ul></li><li><code>matrix</code><ul><li>The key matrix position associated with the LED.</li><li>Example: <code>[0, 2]</code></li></ul></li><li>Example: <code>{&quot;matrix&quot;: [2, 1], &quot;x&quot;: 20, &quot;y&quot;: 48, &quot;flags&quot;: 2}</code></li></ul></li></ul></li><li><code>led_flush_limit</code><ul><li>Limits in milliseconds how frequently an animation will update the LEDs.</li><li>Default: <code>16</code></li></ul></li><li><code>led_process_limit</code><ul><li>Limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness).</li><li>Default: <code>led_count / 5</code></li></ul></li><li><code>max_brightness</code><ul><li>The maximum value which brightness is scaled to, from 0 to 255.</li><li>Default: <code>255</code></li></ul></li><li><code>react_on_keyup</code><ul><li>Animations react to keyup instead of keydown.</li><li>Default: <code>false</code></li></ul></li><li><code>sleep</code><ul><li>Turn off the LEDs when the host goes to sleep.</li><li>Default: <code>false</code></li></ul></li><li><code>speed_steps</code><ul><li>The number of speed adjustment steps.</li><li>Default: <code>16</code></li></ul></li><li><code>split_count</code><ul><li>For split keyboards, the number of LEDs on each half.</li><li>Example: <code>[16, 16]</code></li></ul></li><li><code>timeout</code><ul><li>The LED activity timeout in milliseconds.</li><li>Default: <code>0</code> (no timeout)</li></ul></li><li><code>val_steps</code><ul><li>The number of brightness adjustment steps.</li><li>Default: <code>8</code></li></ul></li></ul></li></ul><h2 id="matrix" tabindex="-1">Matrix <a class="header-anchor" href="#matrix" aria-label="Permalink to &quot;Matrix {#matrix}&quot;"></a></h2><ul><li><code>debounce</code><ul><li>The debounce time in milliseconds.</li><li>Default: <code>5</code> (5 ms)</li></ul></li><li><code>diode_direction</code><ul><li>Which way the diodes are &quot;pointing&quot;. Unused for <code>matrix_pins.direct</code>. Must be one of <code>COL2ROW</code>, <code>ROW2COL</code>.</li></ul></li><li><code>matrix_pins</code><ul><li><code>cols</code><ul><li>A list of GPIO pins connected to the matrix columns.</li><li>Example: <code>[&quot;A0&quot;, &quot;A1&quot;, &quot;A2&quot;]</code></li></ul></li><li><code>custom</code><ul><li>Whether to use a custom matrix scanning implementation.</li><li>Default: <code>false</code></li></ul></li><li><code>custom_lite</code><ul><li>Whether to use a &
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;A0&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;A1&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;A2&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">],</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;B0&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;B1&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;B2&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">],</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;C0&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;C1&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;C2&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span></span></code></pre></div></li><li><code>ghost</code><ul><li>Whether the matrix has no anti-ghosting diodes.</li><li>Default: <code>false</code></li></ul></li><li><code>input_pressed_state</code><ul><li>The logical GPIO state of the input pins when a key is pressed.</li><li>Default: <code>0</code> (pressed = low)</li></ul></li><li><code>io_delay</code><ul><li>The amount of time to wait between row/col selection and col/row pin reading, in microseconds.</li><li>Default: <code>30</code> (30 µs)</li></ul></li><li><code>rows</code><ul><li>A list of GPIO pins connected to the matrix rows.</li><li>Example: <code>[&quot;B0&quot;, &quot;B1&quot;, &quot;B2&quot;]</code></li></ul></li></ul></li></ul><h2 id="mouse-keys" tabindex="-1">Mouse Keys <a class="header-anchor" href="#mouse-keys" aria-label="Permalink to &quot;Mouse Keys {#mouse-keys}&quot;"></a></h2><p>Configures the <a href="./features/mouse_keys">Mouse Keys</a> feature.</p><ul><li><code>mouse_key</code><ul><li><code>delay</code></li><li><code>enabled</code><ul><li>Enables the Mouse Keys feature.</li><li>Default: <code>false</code></li></ul></li><li><code>interval</code></li><li><code>max_speed</code></li><li><code>time_to_max</code></li><li><code>wheel_delay</code></li></ul></li></ul><h2 id="one-shot" tabindex="-1">One Shot <a class="header-anchor" href="#one-shot" aria-label="Permalink to &quot;One Shot {#one-shot}&quot;"></a></h2><p>Configures <a href="./one_shot_keys">One Shot keys</a>.</p><ul><li><code>oneshot</code><ul><li><code>tap_toggle</code><ul><li>The number of times to tap the key in order to hold it.</li></ul></li><li><code>timeout</code><ul><li>The amount of time before the key is released in milliseconds.</li></ul></li></ul></li></ul><h2 id="ps2" tabindex="-1">PS/2 <a class="header-anchor" href="#ps2" aria-label="Permalink to &quot;PS/2 {#ps2}&quot;"></a></h2><p>Configures the <a href="./features/ps2_mouse">PS/2</a> feature.</p><ul><li><code>ps2</code><ul><li><code>clock_pin</code><ul><li>The GPIO pin connected to <code>CLK</code> on the PS/2 device.</li></ul></li><li><code>data_pin</code><ul><li>The GPIO pin connected to <code>DATA</code> on the PS/2 device.</li></ul></li><li><code>driver</code><ul><li>The PS/2 driver to use. Must be one of <code>busywait</code>, <code>interrupt</code>, <code>usart</code>, <code>vendor</code>.</li><li>Default: <code>&quot;busywait&quot;</code></li></ul></li><li><code>enabled</code><ul><li>Enable the PS/2 feature.</li><li>Default: <code>false</code></li></ul></li><li><code>mouse_enabled</code><ul><li>Enable the PS/2 mouse handling.</li><li>Default: <code>false</code></li></ul></li></ul></li></ul><h2 id="qmk-lufa-bootloader" tabindex="-1">QMK LUFA Bootloader <a class="header-anchor" href="#qmk-lufa-bootloader" aria-label="Permalink to &quot;QMK LUFA Bootloader {#qmk-lufa-bootloader}&quot;"></a></h2><ul><li><code>qmk_lufa_bootloader</code><ul><li><code>esc_input</code> (Required) <ul><li>The GPIO pin connected to the designated &quot;exit bootloader&quot; key&#39;s row (if <code>COL2ROW</code>).</li></ul></li><li><code>esc_output</code> (Required) <ul><li>The GPIO pin connected to the designated &quot;exit bootloader&quot; key&#39;s column (if <code>COL2ROW</code>).</li></ul></li><li><code>led</code><ul><li>The GPIO pin connected to an LED to flash.</li></ul></li><li><code>speaker</code><ul><li>The GPIO pin connected to a speaker to click (can also be used for a second LED).</li></ul></li></ul></li></ul><h2 id="rgblight" tabindex="-1">RGBLight <a class="header-anchor" href="#rgblight" aria-label="Permalink to &quot;RGBLight {#rgblight}&quot;"></a></h2><p>Configures the <a href="./features/rgblight">RGB Lighting</a> feature.</p><ul><li><code>rgblight</code><ul><li><code>led_count</code> (Required) <ul><li>The number of LEDs in the chain.</li></ul></li><li><code>animations</code><ul><li>A dictionary of effects to enable or disable. Effects which are absent default to <code>false</code>.</li><li>Example:</li></ul><div class="la
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;breathing&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;rainbow_mood&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;snake&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></li><li><code>brightness_steps</code><ul><li>The number of brightness adjustment steps.</li><li>Default: <code>17</code></li></ul></li><li><code>default</code><ul><li><code>animation</code><ul><li>The default effect. Must be one of <code>rgblight.animations</code></li><li>Default: <code>&quot;static_light&quot;</code></li></ul></li><li><code>on</code><ul><li>The default enabled state.</li><li>Default: <code>true</code></li></ul></li><li><code>hue</code><ul><li>The default hue value.</li><li>Default: <code>0</code></li></ul></li><li><code>sat</code><ul><li>The default saturation value.</li><li>Default: <code>255</code></li></ul></li><li><code>val</code><ul><li>The default brightness level.</li><li>Default: <code>max_brightness</code></li></ul></li><li><code>speed</code><ul><li>The default animation speed.</li><li>Default: <code>0</code></li></ul></li></ul></li><li><code>driver</code><ul><li>The driver to use. Must be one of <code>apa102</code>, <code>custom</code>, <code>ws2812</code>.</li><li>Default: <code>&quot;ws2812&quot;</code></li></ul></li><li><code>hue_steps</code><ul><li>The number of hue adjustment steps.</li><li>Default: <code>8</code></li></ul></li><li><code>layers</code><ul><li><code>blink</code><ul><li>Enable layer blinking API.</li><li>Default: <code>false</code></li></ul></li><li><code>enabled</code><ul><li>Enable RGB Lighting Layers.</li><li>Default: <code>false</code></li></ul></li><li><code>max</code><ul><li>The maximum layer count, from 1 to 32.</li><li>Default: <code>8</code></li></ul></li></ul></li><li><code>led_map</code><ul><li>Remap LED indices.</li><li>Example: <code>[4, 3, 2, 1, 0]</code></li></ul></li><li><code>max_brightness</code><ul><li>The maximum value which the HSV &quot;V&quot; component is scaled to, from 0 to 255.</li><li>Default: <code>255</code></li></ul></li><li><code>saturation_steps</code><ul><li>The number of saturation adjustment steps.</li><li>Default: <code>17</code></li></ul></li><li><code>sleep</code><ul><li>Turn off the LEDs when the host goes to sleep.</li><li>Default: <code>false</code></li></ul></li><li><code>split</code><ul><li>Enable synchronization between split halves.</li><li>Default: <code>false</code></li></ul></li><li><code>split_count</code><ul><li>When <code>rgblight.split</code> is enabled, the number of LEDs on each half.</li><li>Example: <code>[10, 10]</code></li></ul></li></ul></li></ul><h2 id="rgb-matrix" tabindex="-1">RGB Matrix <a class="header-anchor" href="#rgb-matrix" aria-label="Permalink to &quot;RGB Matrix {#rgb-matrix}&quot;"></a></h2><p>Configures the <a href="./features/rgb_matrix">RGB Matrix</a> feature.</p><ul><li><code>rgb_matrix</code><ul><li><code>animations</code><ul><li>A dictionary of effects to enable or disable. Effects which are absent default to <code>false</code>.</li><li>Example:</li></ul><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;alphas_mods&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;breathing&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;cycle_left_right&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></li><li><code>center_point</code><ul><li>The centroid (geometric center) of the LEDs. Used for certain effects.</li><li>Default: <code>[112, 32]</code></li></ul></li><li><code>default</code><ul><li><code>animation</code><ul><li>The default effect. Must be one of <code>rgb_matrix.animations</code></li><li>Default: <code>&quot;solid_color&quot;</code></li></ul></li><li><code>on</code><ul><li>The default enabled state.</li><li>Default: <code>true</code></li></ul></li><li><code>hue</code><ul><li>The default hue value.</li><li>Default: <code>0</code></li></ul></li><li><code>sat</code><ul><li>The default saturation value.</li><li>Default: <code>255</code></li></ul></li><li><code>val</code><ul><li>The default brightness level.</li><li>Default: <code>max_brightness</code></li></ul></li><li><code>speed</code><ul><li>The default animation speed.</li><li>Default: <code>128</code></li></ul></li></ul></li><li><code>driver</code> (Required) <ul><li>The driver to use. Must be one of <code>aw20216s</code>, <code>custom</code>, <code>is31fl3218</code>, <code>is31fl3236</code>, <code>is31fl3729</code>, <code>is31fl3731</code>, <code>is31fl3733</code>, <code>is31fl3736</code>, <code>is31fl3737</code>, <code>is31fl3741</code>, <code>is31fl3742a</code>, <code>is31fl3743a</code>, <code>is31fl3745</code>, <code>is31fl3746a</code>, <code>snled27351</code>, <code>ws2812</code>.</li></ul></li><li><code>hue_steps</code><ul><li>The number of hue adjustment steps.</li><li>Default: <code>8</code></li></ul></li><li><code>layout</code> (Required) <ul><li>List of LED configuration dictionaries. Each dictionary contains: <ul><li><code>flags</code> (Required) <ul><li>A bitfield of flags describing the type of LED.</li></ul></li><li><code>x</code> (Required) <ul><li>The position of the LED in the horizontal axis, from 0 to 224.</li></ul></li><li><code>y</code> (Required) <ul><li>The position of the LED in the vertical axis, from 0 to 64.</li></ul></li><li><code>matrix</code><ul><li>The key matrix position associated with the LED.</li><li>Example: <code>[0, 2]</code></li></ul></li><li>Example: <code>{&quot;matrix&quot;: [2, 1], &quot;x&quot;: 20, &quot;y&quot;: 48, &quot;flags&quot;: 2}</code></li></ul></li></ul></li><li><code>led_flush_limit</code><ul><li>Limits in milliseconds how frequently an animation will update the LEDs.</li><li>Default: <code>16</code></li></ul></li><li><code>led_process_limit</code><ul><li>Limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness).</li><li>Default: <code>led_count / 5</code></li></ul></li><li><code>max_brightness</code><ul><li>The maximum value which the HSV &quot;V&quot; component is scaled to, from 0 to 255.</li><li>Default: <code>255</code></li></ul></li><li><code>react_on_keyup</code><ul><li>Animations react to keyup instead of keydown.</li><li>Default: <code>false</code></li></ul></li><li><code>sat_steps</code><ul><li>The number of saturation adjustment steps.</li><li>Default: <code>16</code></li></ul></li><li><code>sleep</code><ul><li>Turn off the LEDs when the host goes to sleep.</li><li>Default: <code>false</code></li></ul></li><li><code>speed_steps</code><ul><li>The number of speed adjustment steps.</li><li>Default: <code>16</code></li></ul></li><li><code>split_count</code><ul><li>For split keyboards, the number of LEDs on each half.</li><li>Example: <code>[16, 16]</code></li></ul></li><li><code>timeout</code><ul><li>The LED activity timeout in milliseconds.</li><li>Default: <code>0</code> (no timeout)</li></ul></li><li><code>val_steps</code><ul><li>The number of brightness adjustment steps.</li><li>Default: <code>16</code></li></ul></li></ul></li></ul><h2 id="secure" tabindex="-1">Secure <a class="header-anchor" href="#secure" aria-label="Permalink to &quot;Secure {#secure}&quot;"></a></h2><p>Configures the <a href="./features/secure">Secure</a> feature.</p><ul><li><code>secure</code><ul><li><code>enabled</code><ul><li>Enable the Secure feature.</li
<script>window.__VP_HASH_MAP__=JSON.parse("{\"changelog_20200829.md\":\"CoqrOffn\",\"changelog_20190830.md\":\"Drtq3lMy\",\"changelog_20210227.md\":\"BWOtCaeS\",\"changelog_20210529.md\":\"CR1YNfZX\",\"changelog_20200530.md\":\"Dk-vRpTQ\",\"changelog_20220528.md\":\"BX3CCY1Z\",\"changelog_20220226.md\":\"BWO5r_ec\",\"changelog_20201128.md\":\"7XXL02Bn\",\"changelog_20200229.md\":\"DNsowwM1\",\"changelog_20211127.md\":\"ClUawWkq\",\"changelog_20210828.md\":\"DNbHIuuM\",\"changelog_20221126.md\":\"DpbrnXeC\",\"changelog_20220827.md\":\"DjPthqDk\",\"breaking_changes.md\":\"BtdqWQlY\",\"changelog_20231126.md\":\"D2Ok5QAf\",\"arm_debugging.md\":\"BH-H2Ukz\",\"breaking_changes_history.md\":\"CkzdD6x8\",\"changelog_20230827.md\":\"NSPhmB6l\",\"breaking_changes_instructions.md\":\"BAjIGeJb\",\"chibios_upgrade_instructions.md\":\"B5dMtL5R\",\"cli_tab_complete.md\":\"ChaxfzYo\",\"cli_configuration.md\":\"CGSB128P\",\"coding_conventions_python.md\":\"BV-OK1s5\",\"cli_development.md\":\"3xFA2OvS\",\"compatible_microcontrollers.md\":\"6HA6FJZJ\",\"configurator_troubleshooting.md\":\"BxGLPT8G\",\"contributing.md\":\"DLsp4vSA\",\"custom_matrix.md\":\"DMnRw_5l\",\"data_driven_config.md\":\"BvLQ7P20\",\"changelog_20230528.md\":\"nX9R48zP\",\"documentation_templates.md\":\"Bhkum0wD\",\"cli_commands.md\":\"DGx-qNiE\",\"drivers_i2c.md\":\"Cuj87reB\",\"drivers_spi.md\":\"tJVeIT7e\",\"drivers_uart.md\":\"BNBs-m3h\",\"easy_maker.md\":\"DAfbIK4w\",\"drivers_serial.md\":\"qxjytVdM\",\"documentation_best_practices.md\":\"BtEjePaZ\",\"drivers_ws2812.md\":\"D9E3Wb-Y\",\"api_overview.md\":\"0FPaUsMb\",\"config_options.md\":\"DvMeqlpB\",\"faq_misc.md\":\"qGrhOTu4\",\"configurator_step_by_step.md\":\"GvmPtScT\",\"feature_converters.md\":\"DFKin1io\",\"faq_keymap.md\":\"BsEmEZTo\",\"changelog_20240526.md\":\"iGLFD0SP\",\"feature_layers.md\":\"8GwBUTZN\",\"feature_layouts.md\":\"qcy8hNMO\",\"coding_conventions_c.md\":\"DdrpXBEh\",\"custom_quantum_functions.md\":\"DrUNiV1i\",\"cli.md\":\"BLzAdA6l\",\"capabilities_inc.md\":\"Ca9zpMce\",\"changelog_20240225.md\":\"B4-WrXj6\",\"configurator_default_keymaps.md\":\"B3v8dlHd\",\"drivers_adc.md\":\"DzU8txf8\",\"drivers_gpio.md\":\"C5PvyJVh\",\"drivers_flash.md\":\"DhWcHp8S\",\"drivers_apa102.md\":\"Qb-KXRpF\",\"driver_installation_zadig.md\":\"CX9-BACt\",\"drivers_audio.md\":\"mqaz6p5N\",\"faq_debug.md\":\"DuThValw\",\"configurator_architecture.md\":\"DEFTvTlS\",\"faq_build.md\":\"DL_WezA1\",\"faq_general.md\":\"BC3pFw4U\",\"api_development_environment.md\":\"EhJClb9f\",\"feature_debounce_type.md\":\"CUrSp0Iy\",\"feature_advanced_keycodes.md\":\"CX8dJkY-\",\"changelog_20230226.md\":\"Cg0AYxIn\",\"features_led_matrix.md\":\"CrqL4fqO\",\"features_backlight.md\":\"D7R4FkYo\",\"feature_userspace.md\":\"BsmY9yWw\",\"features_auto_shift.md\":\"B9HLt3QM\",\"features_sequencer.md\":\"DkgqNCsQ\",\"features_key_lock.md\":\"IjFq9dYs\",\"features_key_overrides.md\":\"rVTP6kn9\",\"features_secure.md\":\"BX7jFvW5\",\"features_space_cadet.md\":\"DmNfYRVJ\",\"features_programmable_button.md\":\"D332w_PT\",\"features_tri_layer.md\":\"DllHq_Q1\",\"features_leader_key.md\":\"DBQTnBRh\",\"feature_eeprom.md\":\"a0eoTZm7\",\"api_docs.md\":\"CRoD6CbL\",\"hardware_drivers.md\":\"BUnx48D9\",\"how_a_matrix_works.md\":\"JINKbCuX\",\"features_command.md\":\"Byl9YoT7\",\"features_joystick.md\":\"CW0gZHec\",\"index.md\":\"B4QYzvHE\",\"features_dip_switch.md\":\"DtBOdc98\",\"keycodes_basic.md\":\"CHIeCvwn\",\"capabilities.md\":\"DgKwcj5n\",\"features_bootmagic.md\":\"CeNSUsBQ\",\"features_audio.md\":\"DWNYte3W\",\"features_oled_driver.md\":\"D9wJVdL1\",\"features_digitizer.md\":\"DGIGZFVx\",\"feature_macros.md\":\"By1M5R8G\",\"features_rgb_matrix.md\":\"8PRlkGEq\",\"reference_configurator_support.md\":\"FaBQzIj6\",\"platformdev_selecting_arm_mcu.md\":\"aF4DUsvb\",\"keycodes.md\":\"hkOkKJPh\",\"quantum_painter_rle.md\":\"B07V3m-n\",\"platformdev_rp2040.md\":\"CYKYMDfc\",\"platformdev_proton_c.md\":\"CDRuJBvD\",\"reference_keymap_extras.md\":\"-n_bLm78\",\"support_deprecation_policy.md\":\"CCo4ljiw\",\"support.md\":\"CwJ_H6Qx\",\"squeezin
</body>
</html>