1"use strict";(globalThis.webpackChunkwebsite=globalThis.webpackChunkwebsite||[]).push([[4647],{28453:(e,n,o)=>{o.d(n,{R:()=>d,x:()=>a});var t=o(96540);const i={},s=t.createContext(i);function d(e){const n=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),t.createElement(s.Provider,{value:n},e.children)}},64395:(e,n,o)=>{o.d(n,{A:()=>t});const t=o.p+"assets/images/gpc-add-ons-focus-mode-f4316fdd576c6126a496030baef41ce5.png"},81897:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>d,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"add-ons/focus-mode","title":"Focus Mode Configuration","description":"Add-on to disable functions and inputs while Focus Mode is enabled","source":"@site/docs/add-ons/focus-mode.mdx","sourceDirName":"add-ons","slug":"/add-ons/focus-mode","permalink":"/add-ons/focus-mode","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Focus Mode Configuration","pagination_next":null,"pagination_prev":null,"description":"Add-on to disable functions and inputs while Focus Mode is enabled"},"sidebar":"webConfigSidebar"}');var i=o(74848),s=o(28453);const d={title:"Focus Mode Configuration",pagination_next:null,pagination_prev:null,description:"Add-on to disable functions and inputs while Focus Mode is enabled"},a="Focus Mode Configuration",c={},l=[{value:"Web Configurator Options",id:"web-configurator-options",level:2},{value:"Hardware",id:"hardware",level:2},{value:"Requirements",id:"requirements",level:3},{value:"Installation",id:"installation",level:3},{value:"Miscellaneous Notes",id:"miscellaneous-notes",level:2}];function r(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",p:"p",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"focus-mode-configuration",children:"Focus Mode Configuration"})}),"\n",(0,i.jsx)(n.p,{children:"Purpose: This add-on is intended to allow you to disable a number of functions or inputs while Focus Mode is enabled, but otherwise still retain access to them."}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{alt:"GP2040-CE Configurator - Focus Mode",src:o(64395).A+"",width:"1307",height:"202"})}),"\n",(0,i.jsx)(n.h2,{id:"web-configurator-options",children:"Web Configurator Options"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"Lock Macro"})," - When enabled, macro triggers will not activate macro sequences during Focus Mode"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"Lock Buttons"})," - When enabled, listed inputs will not be sent during Focus Mode. As inputs are added, new dropdowns will appear for additional inputs."]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Please note that focus mode pin can be set on the main GPIO pin mapping page."}),"\n",(0,i.jsx)(n.h2,{id:"hardware",children:"Hardware"}),"\n",(0,i.jsx)(n.h3,{id:"requirements",children:"Requirements"}),"\n",(0,i.jsxs)(n.p,{children:["The GPIO pin set in ",(0,i.jsx)(n.code,{children:"Focus Mode Pin"})," needs to be brought and kept low to remain active. A toggle switch, slide toggle, or latching switch is necessary to take advantage of the ",(0,i.jsx)(n.code,{children:"Focus Mode Pin"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Focus mode can also be enabled and disabled via the hotkey action ",(0,i.jsx)(n.a,{href:"/hotkeys#focus-mode-toggle",children:"Focus Mode Toggle"})," (which can be configured in ",(0,i.jsx)(n.a,{href:"/web-configurator/menu-pages/settings#hotkey-settings",children:"Hotkeys Settings"}),"). Pressing the hotkey will activate focus mode, and holding the hotkey for 3 seconds will deactivate Focus Mode."]}),"\n",(0,i.jsx)(n.h3,{id:"installation",children:"Installation"}),"\n",(0,i.jsxs)(n.p,{children:["Installation will depend on whether a toggle switch, slide toggle, or latching switch is used. In general, on one side of the switch, connect the pin to the GPIO pin set in ",(0,i.jsx)(n.code,{children:"Focus Mode Pin"}),". On the other side of the switch or the center if there are 3 contacts, connect it to any GND pin."]}),"\n",(0,i.jsx)(n.h2,{id:"miscellaneous-notes",children:"Miscellaneous Notes"}),"\n",(0,i.jsx)(n.p,{children:"None."})]})}function u(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(r,{...e})}):r(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.