On 3/22/21 10:19 PM, Klemens Nanni wrote:
> On Mon, Mar 22, 2021 at 08:18:45PM +0100, Klemens Nanni wrote:
>> I was too stupid to look at `wsconsctl' output (which needs root) and
>> only looked here.
>>
>> Mailing the diff for my lack of better wording, plus the knob atually
>> takes three values which I have yet to decode by reading wsconsctl(8)
>> code.
> The reason I had to look is because the (default) functionality does not
> work reliably at all:
> 
>       $ doas wsconsctl mouse.tp.tapping=1
>       mouse.tp.tapping -> 1,3,2
> 
> Single taps are always detected reliably and deliver left mouse button
> clicks, but tripple and double taps for middle and right mouse button
> clicks work are recognised so poorly that I first though multitouch
> support wasn't there at all.

Can you tell whether that's a hardware or a driver problem?

wsmouse logging might be helpful here. You could enable it by
    $ doas wsconsctl mouse.param=256:1,257:1
, make a few two-finger taps, and deactivate it with
    $ doas wsconsctl mouse.param=256:0,257:0
For the output:
    $ grep 'wsmouse0-' /var/log/messages

> 
> That's not the case though: two-finger srolling just works smoothly and
> pondering the touchpad with repeated double or tripple taps does
> deliver respective clicks eventually - so it's really just the tap
> support needing some love.
> 
>> Anyone with a better text for the example so grepping "mouse" or "tap"
>> shows me what I'm looking for?
> Here's a better one.
> 
> Feedback? OK?
> 
> 
> Index: etc/examples/wsconsctl.conf
> ===================================================================
> RCS file: /cvs/src/etc/examples/wsconsctl.conf,v
> retrieving revision 1.1
> diff -u -p -r1.1 wsconsctl.conf
> --- etc/examples/wsconsctl.conf       16 Jul 2014 13:21:33 -0000      1.1
> +++ etc/examples/wsconsctl.conf       22 Mar 2021 21:18:35 -0000
> @@ -9,3 +9,5 @@
>  #display.vblank=on           # enable vertical sync blank for screen burner
>  #display.screen_off=60000    # set screen burner timeout to 60 seconds
>  #display.msact=off           # disable screen unburn w/ mouse
> +#mouse.tp.tapping=0          # 1,3,2=interpret one/three/two (simultaneous)
> +                             # tap(s) as left/middle/right mouse button click
> 

Reply via email to