README.md in fusuma-plugin-sendkey-0.7.1 vs README.md in fusuma-plugin-sendkey-0.8.0
- old
+ new
@@ -1,6 +1,6 @@
-# Fusuma::Plugin::Sendkey [![Gem Version](https://badge.fury.io/rb/fusuma-plugin-sendkey.svg)](https://badge.fury.io/rb/fusuma-plugin-sendkey) [![Build Status](https://travis-ci.com/iberianpig/fusuma-plugin-sendkey.svg?branch=master)](https://travis-ci.com/iberianpig/fusuma-plugin-sendkey)
+# Fusuma::Plugin::Sendkey [![Gem Version](https://badge.fury.io/rb/fusuma-plugin-sendkey.svg)](https://badge.fury.io/rb/fusuma-plugin-sendkey) [![Build Status](https://github.com/iberianpig/fusuma-plugin-sendkey/actions/workflows/main.yml/badge.svg)](https://github.com/iberianpig/fusuma-plugin-sendkey/actions/workflows/main.yml)
[Fusuma](https://github.com/iberianpig/fusuma) plugin to send keyboard events
* Low-latency key event emulation with evdev
* Alternative to xdotool available for X11 and Wayland
@@ -83,11 +83,25 @@
sendkey: "LEFTCTRL+T" # open new tab
down:
sendkey: "LEFTCTRL+W" # close tab
```
+### clearmodifiers
+- `clearmodifiers: true` option clears other modifier keys before sending
+
+```yaml
+swipe:
+ 4:
+ up:
+ keypress:
+ LEFTSHIFT:
+ sendkey: "LEFTMETA+DOWN"
+ clearmodifiers: true # clear LEFTSHIFT before sending LEFTMETA+DOWN
+```
+
+
### Specify keyboard by device name
If you got following error message, try to set your keyboard name to `plugin.executors.sendkey_executor.device_name` on config.yml
```shell
@@ -102,9 +116,12 @@
plugin:
executors:
sendkey_executor:
device_name: 'YOUR KEYBOARD NAME'
```
+
+**If [fusuma-plugin-remap](https://github.com/iberianpig/fusuma-plugin-remap) is available, it will be automatically connected to `fusuma_virtual_keyboard`, so `device_name` option is not required.**
+
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-sendkey. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.