Skip to content

Keybard: Touchpad page (touchpad mode, tuning, palm rejection) - #23

Merged
morganvenable merged 7 commits into
svalboard:mainfrom
morganvenable:docs/touchpad-tuning
Nov 2, 2026
Merged

morganvenable merged 7 commits into
svalboard:mainfrom
morganvenable:docs/touchpad-tuning

Conversation

@morganvenable

@morganvenable morganvenable commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Merging with v4.3.5, the release that carries svalboard/qmk#66 and svalboard/keybard#125. The page now names v4.3.5, and the two VERIFY notes are cleared: the release is set, and Keybard main brings the touchpad mode back on restore and leaves it alone on import.

New page, Keybard > Touchpad (/keybard/touchpad/), in the sidebar after Pointing devices. The Pointing Devices panel list links to it.

  • Open the dialog: Settings → Touchpad tuning → Tune touchpad…, or the link in Pointing Devices. Changes apply at once, with no Apply step, and Discard doesn't undo them.
  • Live view: pads at true size, fingers at contact size and numbered, palms outlined, the touch list. One finger: dead zone and tap/hold timer. Two fingers: scroll-start ring and two-finger tap window.
  • Touchpad mode: Automatic (default) vs Built-in gestures, the confirmation, what you gain and lose, switching back, which settings show in each mode (table), saved on the board and not in layout files (an update resets it and Keybard's restore brings it back; a settings reset returns it to Automatic), and Mac + PC on one board.
  • Palm rejection: behavior in each mode, off by default, tuning by resting a palm and watching the live view.
  • Defaults and ranges: read from the firmware (pad_gestures.c, protocol.md): dead zone 1.2 mm, tap time 150 ms, hold time 300 ms, scroll start 1.05 mm, palm off, the three tap switches on. The v4.3.4 tap switches weren't documented before, so they are added here.

Firmware updates and the touchpad mode (checked in code):

  • Installing a different release resets every stored setting on its first start. The firmware hashes its image and compares it with the record at 0xFFD000; on a mismatch it calls eeconfig_disable() (build_reset.c:132-154, called from svalboard.c:370; decision D39 in docs/updater-plan.md:381). The identical image keeps settings (build_reset.h:6-14).
  • Release builds can't skip that reset: SVAL_DEV_KEEP_SETTINGS is a dev-only build flag, and release builds refuse it (build_reset.c:107-110). sval_update.py has no keep-settings option on svalboard; it has reset-settings (sval_update.py:62-68).
  • On that reset, the touchpad mode is set to Automatic (svalboard.c:422-431 at #66's head). The host sees GET_INFO byte 18 bit 2 (0x04, "settings reset to this build's defaults": sval_update.py:372-373; Keybard reads it at keyboard.service.ts:265).
  • From v4.3.4 to the next release: v4.3.4 has no touchpad mode, so the board starts on Automatic either way.
  • Keybard's Restore my layout after an update goes through the import path (restore.ts:23-33). keybard#125 is changing it so the restore brings the touchpad mode back, while a plain import leaves it alone. The page says: a different release resets the touchpad mode with every other setting, Keybard's restore after the update brings it back, importing or sharing a layout file never changes it, and a settings reset returns it to Automatic.

Screenshots come from the simulated board on the test site and the touch-tuning review page (build a4159cb). They may need refreshing after the fixes land.

npm run check and npm run build pass, and all internal links are valid.

🤖 Generated with Claude Code

https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR

morganvenable and others added 3 commits November 1, 2026 13:35
New Keybard page, Touchpad: opening the Touchpad tuning dialog, the live
view (every finger, two-finger scroll start and tap, the touch list),
Touchpad mode (Automatic or Built-in gestures) and which settings show in
each, palm rejection, and the defaults. Pointing Devices links to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
A different firmware release resets every stored setting on its first
start, and restoring the layout doesn't bring the mode back; reinstalling
the same release keeps it. Source references are in a comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
…ard advice

Saved on the board: an update resets the touchpad mode with every other
setting, and Keybard's restore after the update brings it back; importing
or sharing a layout never changes it; a settings reset returns it to
Automatic. Switching back names Settings > Touchpad tuning. The recovery
steps for an older Keybard are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
@morganvenable
morganvenable marked this pull request as ready for review November 2, 2026 00:54
Match Keybard's new confirmation text and screenshot. The computer
keeps the touchpad device; only its touchpad features stop applying.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
morganvenable and others added 3 commits November 1, 2026 20:38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
The touchpad mode, palm rejection and every-finger view ship in v4.3.5.
Keybard main restores the touchpad mode after an update and import
leaves it alone, so those two notes are done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ePhiApV6LQcH1sdfSp2aR
@morganvenable
morganvenable merged commit 5f16ec9 into svalboard:main Nov 2, 2026
2 checks passed
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.

1 participant