Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Accel Profile #8488

Open
4e576rt8uh9ij9okp opened this issue Dec 5, 2024 · 5 comments
Open

Custom Accel Profile #8488

4e576rt8uh9ij9okp opened this issue Dec 5, 2024 · 5 comments
Labels
enhancement New feature or incremental improvement input/pointer

Comments

@4e576rt8uh9ij9okp
Copy link

struct cmd_results *input_cmd_accel_profile(int argc, char **argv) {

Hi there,
I'm using Sway but how are the "flat" and "adaptive" mouse acceleration profiles defined?

I would like to create my own custom profile for it and would need some guidance where I can look up the existing acceleration profiles.

Thanks for making Sway, I ❤️ it :D

@JayceFayne
Copy link
Contributor

@nazya
Copy link

nazya commented Dec 24, 2024

@JayceFayne
In fact, libinput v1.23 introduced custom acceleration profiles for pointer control.
But according man 5 sway-input accel_profile can be either flat or adaptive.
Could the compositor support accel_profile custom for better customization?

@nazya
Copy link

nazya commented Dec 24, 2024

@mstoeckl
I noticed your contributions in this area—could you comment on whether this could be implemented and if a PR prepared by me adding the support could be mergeable?

@mstoeckl
Copy link
Contributor

could you comment on whether this could be implemented

Yes.

and if a PR prepared by me adding the support could be mergeable?

I'm not part of swaywm/sway and therefore cannot commit to anything: but I do think that such an option would fall within the project scope.

@emersion emersion added enhancement New feature or incremental improvement input/pointer labels Dec 25, 2024
@emersion
Copy link
Member

I think it'd make sense to add such an option. Would probably end up being somewhat similar to calibration_matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or incremental improvement input/pointer
Development

No branches or pull requests

5 participants