Skip to content

Release a stuck trackpad button from Update > Hardware > Trackpad - #17280

Merged
dhh merged 1 commit into
quattrofrom
worktree-trackpad-release
Nov 1, 2026
Merged

dhh merged 1 commit into
quattrofrom
worktree-trackpad-release

Conversation

@dhh

@dhh dhh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Update > Hardware > Trackpad only reset touchpads on i2c_hid_acpi and intel_quicki2c, so on other touchpads (like the device-tree i2c_hid_of one on the ASUS Zenbook A16) it did nothing when a button got stuck down.

  • omarchy-toggle-input-device gets a cycle action that turns the device off and back on in Hyprland, which makes libinput release a held button. A touchpad the user disabled stays off.
  • omarchy-restart-trackpad runs it first, before the sudo driver rebind. It works on every platform and needs no password.
  • toggle-input-device-test.sh covers both cases of cycle.

Tested: the cycle reset is what freed a stuck trackpad on the Zenbook A16. toggle-input-device-test.sh and ./test/cli pass.

🤖 Generated with Claude Code

The driver rebind only covers i2c_hid_acpi and intel_quicki2c, so on other
touchpads it did nothing. Cycling the device off and on in Hyprland first
makes libinput release a held button on every platform, without sudo.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Adds a Hyprland touchpad reset before the existing driver reset.

  • Trackpad restart cycles the touchpad in Hyprland to release held buttons.

No actionable issues found. Tests were inspected, not run.

Reviews (1) · Last reviewed commit: "Release a stuck trackpad button from Upd..." · Reviewed by Greptile

@dhh
dhh merged commit 901af70 into quattro Nov 1, 2026
3 checks passed
@dhh
dhh deleted the worktree-trackpad-release branch November 1, 2026 19:04
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
berenddeboer pushed a commit to berenddeboer/omarchy that referenced this pull request Nov 6, 2026
…acom#17280)

The driver rebind only covers i2c_hid_acpi and intel_quicki2c, so on other
touchpads it did nothing. Cycling the device off and on in Hyprland first
makes libinput release a held button on every platform, without sudo.

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 901af70)
omarchybot added a commit to chessing234/omarchy that referenced this pull request Nov 16, 2026
Since quattro gained the Hyprland cycle step (omacom#17280), a touchpad on neither i2c_hid_acpi nor intel_quicki2c (bcm5974, the Zenbook A16's i2c_hid_of) is released by that step, so reporting failure there showed "Failed" for a reset that worked. Fail only when the cycle found no touchpad either.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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