Skip to content

Can only work for once after start up when using the touchpad on laptop

Hello! It's a fantastic plugin and I enjoy it very much on my laptop. But I met some problem that when I don't connect to a mouse and use the touchpad of the laptop: The plugin can work only once. After I move my mouse through touchpad, it will never hideaway unless I restart the plugin.

Here is my udevmon.yaml:

- JOB: "intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE"
  DEVICE:
    EVENTS:
      EV_KEY: [KEY_CAPSLOCK, KEY_ESC]

- JOB: "intercept -g $DEVNODE | hideaway 4 10000 10000 -512 -256 | uinput -d $DEVNODE"
  DEVICE:
    EVENTS:
      EV_REL: [REL_X, REL_Y]

I used sudo nice -n -20 udevmon -c /etc/udevmon.yaml >udevmon.log 2>udevmon.err & to start the plugin. The first plugin works well in all time but hideaway works only once and there is nothing in the udevmon.log and udevmon.err.

I think maybe the program doesn't recognized my touchpad's movement because everything works well when I use a real mouse.

My OS is Archlinux with 5.5.11 kernel and i3wm.

Looking forward to your reply!