{"slug":"hig-inputs","title":"hig-inputs","summary":"When the user handles input on Apple devices: gestures, keyboards and shortcuts, pointers and trackpads, Apple Pencil and Scribble, game controllers, the Siri Remote, Digital Crown, Camera Control, focus and selection, eyes and spatial interactions on visionOS, motion sensors, or","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:07.396103Z","repo":{"url":"https://github.com/raintree-technology/hig-doctor","stars":159,"forks":10,"license":"MIT","updatedAt":"2026-11-28T19:46:02Z"},"bodyHtml":"<hr>\n<h2>name: hig-inputs\ndescription: &gt;-\nWhen the user handles input on Apple devices: gestures, keyboards and shortcuts,\npointers and trackpads, Apple Pencil and Scribble, game controllers, the Siri Remote,\nDigital Crown, Camera Control, focus and selection, eyes and spatial interactions on\nvisionOS, motion sensors, or nearby interactions. For on-screen controls, see\nhig-components-controls. For per-platform context, see hig-platforms.\nlicense: MIT. Apple HIG content is © Apple Inc.\nmetadata:\nversion: \"1.1.0\"\nhig-snapshot: \"2025-02-02\"</h2>\n<h1>Apple HIG: Inputs</h1>\n<p>Read <code>.agents/apple-design-context.md</code> (or the older <code>.claude/apple-design-context.md</code>) before asking questions. Use what it records and only ask for what is missing.</p>\n<h2>Key Principles</h2>\n<ol>\n<li><p><strong>Support multiple input methods.</strong> Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.</p>\n</li>\n<li><p><strong>Consistent feedback for every input action.</strong> Visible, audible, or haptic response.</p>\n</li>\n<li><p><strong>Standard gestures must behave consistently.</strong> Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).</p>\n</li>\n<li><p><strong>Use standard recognizers; keep custom gestures discoverable.</strong> Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.</p>\n</li>\n<li><p><strong>Apple Pencil: precision drawing, markup, and selection.</strong> Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).</p>\n</li>\n<li><p><strong>Support Scribble in text fields.</strong> Users expect to write with Pencil in any text input.</p>\n</li>\n<li><p><strong>Keyboard shortcuts and full navigation.</strong> Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.</p>\n</li>\n<li><p><strong>Respect the software keyboard.</strong> Adjust layout when keyboard appears. Use keyboard-avoidance APIs.</p>\n</li>\n<li><p><strong>Game controllers: MFi controllers with on-screen fallbacks.</strong> Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.</p>\n</li>\n<li><p><strong>Pointer and trackpad: native feel.</strong> Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.</p>\n</li>\n<li><p><strong>Digital Crown: primary scrolling and value-adjustment input on watchOS.</strong> Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.</p>\n</li>\n<li><p><strong>Eyes and spatial (visionOS): look and pinch.</strong> Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.</p>\n</li>\n<li><p><strong>Focus system: critical for tvOS and visionOS.</strong> Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.</p>\n</li>\n<li><p><strong>Siri Remote: limited surface.</strong> Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.</p>\n</li>\n<li><p><strong>Gyroscope, accelerometer, UWB: use judiciously.</strong> Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.</p>\n</li>\n</ol>\n<h2>Reference Index</h2>\n<table>\n<thead>\n<tr>\n<th>Reference</th>\n<th>Topic</th>\n<th>Key content</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"references/gestures.md\">gestures.md</a></td>\n<td>Touch gestures</td>\n<td>Tap, swipe, pinch, long press, drag, system gestures</td>\n</tr>\n<tr>\n<td><a href=\"references/apple-pencil-and-scribble.md\">apple-pencil-and-scribble.md</a></td>\n<td>Apple Pencil</td>\n<td>Precision, pressure, tilt, hover, handwriting</td>\n</tr>\n<tr>\n<td><a href=\"references/keyboards.md\">keyboards.md</a></td>\n<td>Keyboards</td>\n<td>Shortcuts, navigation, software keyboard, Command key</td>\n</tr>\n<tr>\n<td><a href=\"references/game-controls.md\">game-controls.md</a></td>\n<td>Game controllers</td>\n<td>MFi, extended gamepad, remapping, fallbacks</td>\n</tr>\n<tr>\n<td><a href=\"references/pointing-devices.md\">pointing-devices.md</a></td>\n<td>Pointer/trackpad</td>\n<td>Hover, cursor morphing, trackpad gestures</td>\n</tr>\n<tr>\n<td><a href=\"references/digital-crown.md\">digital-crown.md</a></td>\n<td>Digital Crown</td>\n<td>Scrolling, value adjustment, haptic detents</td>\n</tr>\n<tr>\n<td><a href=\"references/eyes.md\">eyes.md</a></td>\n<td>Eye tracking</td>\n<td>Look and tap, gaze targeting, hit target sizing</td>\n</tr>\n<tr>\n<td><a href=\"references/spatial-interactions.md\">spatial-interactions.md</a></td>\n<td>Spatial input</td>\n<td>Hand gestures, direct manipulation, immersive input</td>\n</tr>\n<tr>\n<td><a href=\"references/focus-and-selection.md\">focus-and-selection.md</a></td>\n<td>Focus system</td>\n<td>tvOS/visionOS navigation, focus indicators, groups</td>\n</tr>\n<tr>\n<td><a href=\"references/remotes.md\">remotes.md</a></td>\n<td>Remotes</td>\n<td>Touch surface, clickpad, simple interactions</td>\n</tr>\n<tr>\n<td><a href=\"references/gyro-and-accelerometer.md\">gyro-and-accelerometer.md</a></td>\n<td>Motion sensors</td>\n<td>Gyroscope, accelerometer, calibration, gaming</td>\n</tr>\n<tr>\n<td><a href=\"references/nearby-interactions.md\">nearby-interactions.md</a></td>\n<td>Nearby interactions</td>\n<td>U1 chip, directional finding, proximity triggers</td>\n</tr>\n<tr>\n<td><a href=\"references/camera-control.md\">camera-control.md</a></td>\n<td>Camera Control</td>\n<td>iPhone camera hardware button, quick launch</td>\n</tr>\n</tbody>\n</table>\n<h2>Check existing code</h2>\n<p>If the project has source code, run <code>npx hig-doctor .</code> (or the <code>hig_audit_file</code> MCP tool on one file) and cite its findings (rule ID, line, HIG link) alongside this guidance. Findings are review evidence, not proof of HIG conformance.</p>\n<h2>Output Format</h2>\n<ol>\n<li><strong>Input method recommendations by platform</strong> and how they interact.</li>\n<li><strong>Gesture specification table</strong> -- standard and custom gestures with expected behaviors.</li>\n<li><strong>Keyboard shortcut recommendations</strong> following system conventions.</li>\n<li><strong>Accessibility input alternatives</strong> for VoiceOver, Switch Control, etc.</li>\n</ol>\n<h2>Questions to Ask</h2>\n<ol>\n<li>Which platforms and input devices?</li>\n<li>Productivity or casual app?</li>\n<li>Custom gestures in the design?</li>\n<li>Game controller support needed?</li>\n</ol>\n<h2>Related Skills</h2>\n<ul>\n<li><strong>hig-components-status</strong> -- Progress indicators responding to input (pull-to-refresh)</li>\n<li><strong>hig-components-system</strong> -- System experiences with unique input constraints</li>\n<li><strong>hig-technologies</strong> -- VoiceOver, Siri voice input, ARKit spatial gesture context</li>\n</ul>\n","files":[{"path":"references/apple-pencil-and-scribble.md","sizeBytes":2847,"isText":true},{"path":"references/camera-control.md","sizeBytes":1494,"isText":true},{"path":"references/digital-crown.md","sizeBytes":1556,"isText":true},{"path":"references/eyes.md","sizeBytes":2465,"isText":true},{"path":"references/focus-and-selection.md","sizeBytes":2035,"isText":true},{"path":"references/game-controls.md","sizeBytes":2255,"isText":true},{"path":"references/gestures.md","sizeBytes":2517,"isText":true},{"path":"references/gyro-and-accelerometer.md","sizeBytes":1007,"isText":true},{"path":"references/keyboards.md","sizeBytes":1637,"isText":true},{"path":"references/nearby-interactions.md","sizeBytes":1488,"isText":true},{"path":"references/pointing-devices.md","sizeBytes":2982,"isText":true},{"path":"references/remotes.md","sizeBytes":1651,"isText":true},{"path":"references/spatial-interactions.md","sizeBytes":1491,"isText":true},{"path":"SKILL.md","sizeBytes":5984,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:42:23.891365Z","sha256":"7B2AA38AAAD75CA0FF9CF1E7CF68FDDFC53D03EFC4B33F06F8A632AB8346E7FC","sizeBytes":16176},"review":null,"source":{"repositoryUrl":"https://github.com/raintree-technology/hig-doctor","path":"skills/hig-inputs","license":"MIT","commit":"4e5025b91b83012e9e17796d173d14eb01047e81","subtreeSha":"9BE6F134D0A8311D26D091AF8FE4DEBA9A955D25149C454FEF85A3E34D714107","lastSyncedAt":"2026-11-29T00:42:06.735218Z"},"reviewedAt":"2026-11-29T00:43:15.603365Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/raintree-technology/hig-doctor/tree/main/skills/hig-inputs"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install raintree-technology-hig-doctor@llmmart"},{"target":"git","command":"git clone https://github.com/raintree-technology/hig-doctor.git"}]}