Skip to content

Add PMW3610 driver advanced settings to Trackball tab#89

Merged
cormoran merged 1 commit into
mainfrom
claude/sleepy-lichterman-76f91a
Jul 6, 2026
Merged

Add PMW3610 driver advanced settings to Trackball tab#89
cormoran merged 1 commit into
mainfrom
claude/sleepy-lichterman-76f91a

Conversation

@cormoran

@cormoran cormoran commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a collapsible "Advanced (PMW3610 Sensor Driver)" section to the Trackball page, exposing the settings registered by cormoran/zmk-driver-pmw3610-with-custom-studio-rpc (cpi, axis swap/invert, force-awake, smart algorithm, downshift/sample timers, min report interval) via the same generic cormoran.zmk.custom_settings RPC the app already supports.
  • Frame capture/streaming is implemented by the driver as a separate, dedicated RPC subsystem — it is intentionally not surfaced here, per request.
  • Extracted the per-subsystem settings card out of AdvancedSettingsSection into a reusable CustomSettingsSectionCard component so both the existing Settings page and the new Trackball section share the same editors (int32/bool/range-constrained fields, save/discard/reset), instead of duplicating that logic.
  • Added Japanese translations for the new strings.

Test plan

  • tsc --noEmit
  • eslint
  • prettier --check
  • Full Jest suite (24 suites / 226 passed, 1 pre-existing skip) via the repo's pre-commit hook
  • Manual verification against real firmware (not available in this environment) — please confirm the section renders correctly against a keyboard running the pmw3610 driver's custom settings

🤖 Generated with Claude Code

Adds a collapsible "Advanced (PMW3610 Sensor Driver)" section to the
Trackball page, exposing the settings registered by
cormoran/zmk-driver-pmw3610-with-custom-studio-rpc (cpi, axis swap/invert,
downshift/sample timers, report interval, etc.) via the existing generic
custom_settings RPC. Frame capture/streaming is a separate RPC subsystem
and is intentionally not surfaced here.

Extracts the per-subsystem settings card from AdvancedSettingsSection into
a reusable CustomSettingsSectionCard component so both the Settings page
and the new Trackball section share the same editors (int32/bool/range
constraints, save/discard/reset).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview

Preview URL: https://52fd429a-dya-studio.cormoran707.workers.dev

Deployed from commit 8fcccfa

@cormoran cormoran merged commit 92552a2 into main Jul 6, 2026
3 checks passed
@cormoran cormoran deleted the claude/sleepy-lichterman-76f91a branch July 6, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants