Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/src/content/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Troubleshooting
description: The switch is not recognised, input access on a Mac, Bluetooth, and where to get help.
---

Switchify PC's Help page has **Setup** and **Troubleshooting** tabs with the same checks as below, plus illustrated guides for connecting a switch, learning a key, assigning Select, grid and line scanning, press-hold-release, macOS access, pairing and startup.
Switchify PC's Help page has **Setup** and **Troubleshooting** tabs with the same checks as below, plus illustrated guides for connecting a switch, learning a key, assigning Select, grid and line scanning, press-hold-release, macOS access, pairing and startup. It also links to this guide.

## Nothing happens when I press the switch

Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ const supportTabs = [{ id: "setup", label: "Setup" }, { id: "troubleshooting", l

function SupportView({ state, switches, busy, perform, openSetup, openUpdates }: { state: AppState; switches: SwitchController; busy: boolean; perform: (operation: () => Promise<AppState>) => void; openSetup: () => void; openUpdates: () => void }) {
const [tab, setTab] = useState<(typeof supportTabs)[number]["id"]>("setup");
return <div className="view"><header className="page-header"><div><h1>Help</h1><p>Set up Switchify PC and fix common problems.</p></div></header>
return <div className="view"><header className="page-header"><div><h1>Help</h1><p>Set up Switchify PC and fix common problems. The full guide is at <a href="https://pc.theswitchify.app" target="_blank" rel="noreferrer">pc.theswitchify.app</a>.</p></div></header>
<Tabs name="support" tabs={supportTabs} active={tab} onSelect={setTab} label="Support view" />
<TabPanel name="support" id={tab}>{tab === "setup" ? <><Button className="primary setup-launch" onClick={openSetup}><Wrench size={16} />Open setup guide</Button><section className="task-list" aria-label="Setup status">
<article><StatusIcon ok={state.accessibility === "granted"}><Accessibility size={19} /></StatusIcon><div><h2>Input access</h2><AccessibilityCopy state={state} detailed /><Demonstration kind="access" /></div>{state.accessibility === "required" && <Button className="secondary" disabled={busy} onClick={() => perform(() => api.checkAccessibility(true))}>Open Accessibility Settings</Button>}</article>
Expand Down
Loading