Open HritwikSinghal opened 3 years ago
if you can tell me where to look for log message for tap client, maybe i can debug it @iberianpig
I looked at the yaml and the following seems to be wrong
command:
instead of sendkey:
for debugging with echo.tap:
-1:
+ 1:
- sendkey: "echo ----------------tap1----------------------------"
+ command: "echo ----------------tap1----------------------------"
BTW, sendkey: PLAYPAUSE
didn't work for spotify play/stop in my environment.
I looked at the yaml and the following seems to be wrong
* The indentation of 1: below the tap is missing.
oh, my bad, but even after indentation, it does not work. and command does not output anything
BTW,
sendkey: PLAYPAUSE
didn't work for spotify play/stop in my environment.
i am using rhythmbox and lollypop and this used to work in my prev installs. so can you tell me how to debug it?
i am using rhythmbox and lollypop and this used to work in my prev installs. so can you tell me how to debug it?
$ fusuma-sendkey PLAYPAUSE
$ libinput debug-events --enable-tap --verbose
$ libinput debug-events --enable-tap --verbose | grep --line-buffered tap:
event8 - tap: touch 0 (TOUCH_BEGIN), tap state TAP_STATE_IDLE → TAP_EVENT_TOUCH → TAP_STATE_TOUCH
event8 - tap: touch 1 (TOUCH_BEGIN), tap state TAP_STATE_TOUCH → TAP_EVENT_TOUCH → TAP_STATE_TOUCH_2
event8 - tap: touch 2 (TOUCH_BEGIN), tap state TAP_STATE_TOUCH_2 → TAP_EVENT_TOUCH → TAP_STATE_TOUCH_3
event8 - tap: touch 1 (TOUCH_END), tap state TAP_STATE_TOUCH_3 → TAP_EVENT_RELEASE → TAP_STATE_TOUCH_2_HOLD
event8 - tap: touch 0 (TOUCH_END), tap state TAP_STATE_TOUCH_2_HOLD → TAP_EVENT_RELEASE → TAP_STATE_HOLD
event8 - tap: touch 2 (TOUCH_END), tap state TAP_STATE_HOLD → TAP_EVENT_RELEASE → TAP_STATE_IDLE
And I noticed that libinput v1.17.0 debug-events format is changed, and it doesn't work tap and hold detection.
And I noticed that libinput v1.17.0 debug-events format is changed, and it doesn't work tap and hold detection.
* v1.10.4 N/A (stops working after palm detection) * v1.14.1 works * v1.15.5 works * v1.16.5 works * v1.17.0 N/A (--verbose log format has been changed sob )
Wait so what does this mean? no more tap events ?
No, the tap events are still being written out.
On the left is the log of libinput debug-events --verbose --enable-tap
for v1.17.0 and on the right for v1.16.5.
Some logs colored on the left have changed format, it needs to be rewritten in the parser for v1.17.0.
This is a problem with fusuma-plugin-tap, which depends on the verbose log. For a permanent solution, I think we should get events from libinput API or evdev instead of verbose log.
This is a problem with fusuma-plugin-tap, which depends on the verbose log. For a permanent solution, I think we should get events from libinput API or evdev instead of verbose log.
i think if you use libinput API, it will also fix the issue where fusuma executes 4 finger tap after doing 3 finger swipe and holding.
Hold gestures are coming to libinput by default so you may want to wait for them. See https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/602
It seems to have been merged.
http://who-t.blogspot.com/2021/07/libinput-and-hold-gestures.html
Distribution: Manjaro 20.2 Nibia, Wayland, Gnome.
my config;
Details of fusuma
Nothing happens when i tap with 1 finger or hold with 4 finger. I cant debug it since i dont see any log messages.