Skip to content

synaptics: fix tapButtons setting#4823

Merged
aristidb merged 1 commit intoNixOS:masterfrom
abbradar:synaptics-fix
Nov 8, 2014
Merged

synaptics: fix tapButtons setting#4823
aristidb merged 1 commit intoNixOS:masterfrom
abbradar:synaptics-fix

Conversation

@abbradar
Copy link
Member

@abbradar abbradar commented Nov 4, 2014

This should fix an issue with tapButtons reported by @puffnfresh (sorry for the breakage!) in #4746 .

@lucabrunox
Copy link
Contributor

Weird, I did an upgrade and tapping worked fine. Maybe it only affects it when disabling?
I wonder why TapButton use fingersMap, and ClickFinger use buttonsMap. That's confusing.

@abbradar
Copy link
Member Author

abbradar commented Nov 4, 2014

@lethalman Precisely, it breaks only when trying to disable taps. As for fingersMap and buttonsMap -- that was my change -- I was using different maps for fingers and buttons, so splitting them was more convenient for me.

@lucabrunox
Copy link
Contributor

@abbradar that's ok, but why TapButton -> fingersMap, ClickFinger -> buttonsMap? Sounds confusing to me.

@abbradar
Copy link
Member Author

abbradar commented Nov 4, 2014

Now when you said it -- it really is. Maybe rename fingersMap -> tapsMap while not much people use it?

@puffnfresh
Copy link
Member

Looks perfect. Thank you! 👍

@Fuuzetsu Fuuzetsu added the 0.kind: enhancement Add something new or improve an existing system. label Nov 5, 2014
aristidb added a commit that referenced this pull request Nov 8, 2014
synaptics: fix tapButtons setting
@aristidb aristidb merged commit 8b949e5 into NixOS:master Nov 8, 2014
@abbradar abbradar deleted the synaptics-fix branch November 8, 2014 20:19
@kirelagin
Copy link
Member

I just wonder what is the usecase for having different maps for taps and clicks…

@kirelagin
Copy link
Member

Hm, and BTW seems that the renaming of fingersMap to tapsMap didn’t happen. That’s unfortunate…

@abbradar
Copy link
Member Author

My usecase was to disable three-buttons tap, but not click -- evolved from my habit of semi-consciously tapping on touchpad while thinking.

@kirelagin
Copy link
Member

My usecase was to disable three-buttons tap, but not click -- evolved from my habit of semi-consciously tapping on touchpad while thinking.

Wow, that’s handy! I should probably do that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: enhancement Add something new or improve an existing system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants