-
Notifications
You must be signed in to change notification settings - Fork 10
Added most missing settings for libinput to the mouse page. #144
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
base: master
Are you sure you want to change the base?
Conversation
|
Thanks.
|
|
If you're happy to do the merge conflict, looks like all you have to do it to remove the |
|
Hmm... actually there is a subtle consideration with the libinput settings because there are normally many input-devices which all have their own unique default settings. We need to consider the following:
|
|
I learned that the hard way, setting If I understood the code correctly it should provide a method to set at least the general device (e.g. different scroll factors per mouse or touchpad). And adding a method to not write anything instead of writing "no"? In LXQt x11 we can set it per different mouse devices which are chosen by a dropdown, here my touchpad shows up also as mouse though. Edit: missed your first comment.
Now that I'm a little familiar with the code I'd like to continue, adding settings which seem already possible with the current implementation (e.g. snapping, foucs, keyboard repeat, mouse double click and so on), but should I better wait? |
|
Oh, I selected the wrong thing with the merge conflict in the GUI here |
Go for it. I've got a lot of stuff I want to sort out, but I feel sure we can do that in parallel without treading on each others toes. |
Do you have a screenshot of what that looks like? It's not obvious to me what GUI best suits Also, I don't think it's straight forward to get individual devices names without root privileges. I think I'm right in saying that a compositor can get the names, but not clients. |
|
To be honest I don't think that the LXQt X11 Gui is very well done and to imitate, as it has twice mouse settings, this is with a wireless mouse and a touchpad...
IMO niri has a good implementation/overview which I used in niri-settings I''ve never tested but it could be that changing the mouse in x11 here would mean having the defaults again... so just per category should be enough or even better. For the keyboard it could make sense to have it maybe. |
|
If we could use later just
would be enough IMO. |
Yes, supporting separate settings for touchpads and mice is probably a good balance. The nodenames would be slightly different to what you've done above though unless we change So what's the plan, shall we work on merging this PR with its current approach for now? I could do a list of stuff I think needs to get sorted before we tag the first revision if helpful. |
|
@stefonarch See #145 |
Hu, seems quite some work. But yes, more things that can be exposed in the GUI is worth the effort.
I'm fine with this, we say "better a small bird in the hand than a big one on the roof" ;) |

Started to add checkboxes, combos and spinboxes and noticed that float values couldn't be read and written. The code for that was quite inspired by LLMs so it needs a really good check, besides the merge conflicts.
It compiles and works fine here.
I disabled "Touchpad disabled" as it really disables everything keyboard included, needed to hard reset the laptop, comments in the code, it needs an updated save/read method to separate settings for devices I guess.