Repository navigation
feat(settings): add Mouse & Touchpad settings tab for Niri - #2905
Merged
Merged
Conversation
hthienloc
force-pushed
the
feat/mouse-trackpad
branch
from
July 22, 2026 13:46
d087509 to
5043030
Compare
Member
Author
|
@bbedward I made the changes you requested |
bbedward
requested changes
Jul 22, 2026
| include optional=true "dms/binds.kdl" | ||
| include optional=true "dms/outputs.kdl" | ||
| include optional=true "dms/cursor.kdl" | ||
| include optional=true "dms/input.kdl" |
Member
There was a problem hiding this comment.
We can delete the input {} section of this file, and just rely on the included file
hthienloc
marked this pull request as draft
July 22, 2026 15:33
hthienloc
marked this pull request as ready for review
July 22, 2026 16:22
Member
|
This looks really nice, good work here! |
marcusramberg
pushed a commit
to marcusramberg/DankMaterialShell
that referenced
this pull request
Sep 2, 2026
…ev#2905) * feat(settings): add Mouse & Trackpad settings tab * style(settings): clarify touchpad natural scroll description * chore(settings): update settings search index * refactor(settings): unify Mouse & Trackpad terminology to Mouse & Touchpad * feat(setup): deploy default dms/input.kdl on setup * style(niri): restore include section comment in base config template * refactor(niri): remove redundant input block from base config template * refactor(niri): restore keyboard and non-mouse input config to base template * feat(settings): add touchpad disable-on-external-mouse toggle * feat(settings): add left-handed, scroll-factor and dwt options * feat(settings): add middle-emulation, scroll-method, tap-and-drag and drag-lock options * refactor(settings): re-order mouse and touchpad UI options logically
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces the Mouse & Trackpad settings tab under the System settings category, scoped specifically to Niri compositor.
Key implementation details:
mouseAccelSpeed,mouseAccelProfile,mouseNaturalScroll,touchpadAccelSpeed,touchpadAccelProfile,touchpadNaturalScroll, andtouchpadTapToClicktoSettingsSpec.jsandSettingsData.qml, calling a unifiedupdateCompositorInput()hook upon changes.generateNiriInputConfig()insideNiriService.qmlto output clean KDL configurations todms/input.kdl. Options likenatural-scrollandtapare formatted as KDL argument-less flag nodes (withouttrue/falsearguments) to match Niri KDL grammar constraints.Type of change
Related issues
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis clean (N/A)make lint-qmlwith no new warnings