Skip to content

Fix: Use accel_profile=flat instead of force_no_accel for proper pointer behavior#5479

Merged
dhh merged 2 commits intobasecamp:devfrom
bontalor:dev
Apr 29, 2026
Merged

Fix: Use accel_profile=flat instead of force_no_accel for proper pointer behavior#5479
dhh merged 2 commits intobasecamp:devfrom
bontalor:dev

Conversation

@bontalor
Copy link
Copy Markdown
Contributor

Summary

In hyprland, the variable force_no_accel is not recommended due to potential cursor desynchronization and sensitivity issues.

accel_profile should be used instead with the value flat which is the same as disabling acceleration.

hyprland wiki

wayland pointer acceleration profiles

Changes:

  • config/hypr/input.conf - replace force_no_accel with accel_profile

Copilot AI review requested due to automatic review settings April 28, 2026 19:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Hyprland input configuration example to prefer accel_profile = flat over the deprecated/not-recommended force_no_accel, aligning the repo’s suggested settings with upstream guidance for correct pointer behavior.

Changes:

  • Replace the commented force_no_accel = true example with accel_profile = flat in the Hyprland input config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread config/hypr/input.conf
Comment on lines +22 to +23
# Turn off mouse acceleration (default: adaptive)
# accel_profile = flat
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment still says "Turn off mouse acceleration (default: false)", but accel_profile is a string setting (e.g., flat/adaptive), so the "default: false" wording is now misleading. Consider updating the comment to reflect the actual default profile (or remove the default note) to avoid confusion for users enabling this line.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

@dhh dhh merged commit 4cc6ea3 into basecamp:dev Apr 29, 2026
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.

3 participants