I found that the middle-click with the two-finger tap doesn't work when I changed a setting with the command below.
$ defaults write com.rouge41.middleClick fingers 2
In my investigation, f3->normalized.pos.x and f3->normalized.pos.y were "nan" when two-finger tap was triggered.
Consequently, middleclickX, middleclickY, middleclickX2, and middleclickY2 were "nan", so the condition delta < 0.4f at l.228 didn't work well.
I think the number of ((Finger *)&data[i])->normalized.pos should be aligned with fingersQua.
Hello.
I found that the middle-click with the two-finger tap doesn't work when I changed a setting with the command below.
$ defaults write com.rouge41.middleClick fingers 2
In my investigation,
f3->normalized.pos.x
andf3->normalized.pos.y
were "nan" when two-finger tap was triggered. Consequently, middleclickX, middleclickY, middleclickX2, and middleclickY2 were "nan", so the conditiondelta < 0.4f
at l.228 didn't work well.I think the number of
((Finger *)&data[i])->normalized.pos
should be aligned with fingersQua.