iberianpig / fusuma-plugin-sendkey

Fusuma plugin that sending virtual keyboard events
MIT License
70 stars 1 forks source link

Implement --clearmodifiers #1

Closed iberianpig closed 4 years ago

iberianpig commented 4 years ago

Describe the bug

Currently, the following trigger does not work with fusuma-plugin-keypress.

hold:
  3:
    keypress:
      LEFTALT:
        sendkey: "LEFTALT+F7"  # OK
      LEFTMETA:
        sendkey: "LEFTALT+F7" # NG

Expected behavior

fusuma-plugin-sendkey should have an option like --clearmodifier of xdotool.

it should work following ~/.config/fusuma/config.yml

hold:
  3:
    keypress:
      LEFTMETA:
        sendkey: "--clearmodifier LEFTALT+F7"

CLI

$ fusuma-sendkey --clearmodifier LEFTALT+F7