iberianpig / fusuma-plugin-sendkey

Fusuma plugin that sending virtual keyboard events
MIT License
72 stars 2 forks source link

Sending multiple keys #31

Closed ebardie closed 2 months ago

ebardie commented 1 year ago

I see from another Issue that the recommendation here would likely be to use:

command: 'fusuma-sendkey ctrl+a && fusuma-send-key up'

I've tried this, and it's surprisingly slow. Strangely using xdotool is a lot faster:

command: 'xdotool key ctrl+a Up'

which is zippy, and more than good enough if you've got xdotool installed. Obviously there's a whole nother process to exec when running two fusuma-sendkeys, but it's a lot slower.

I was trying to just use SendKeys for efficiency and would prefer to drop the xdotool dependency if possible.