Skip to content

Commit

Permalink
docs: add example of mouse move command
Browse files Browse the repository at this point in the history
  • Loading branch information
socsieng committed Jan 2, 2021
1 parent 2c5cefb commit 2470c7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ Example usage:
- `<m:400,400,0,0:2>`: Move mouse cursor from 400, 400 position to 0, 0 over 2 seconds.
- `<m:400,400>`: Move mouse cursor to 400, 400 instantly.

```sh
sendkeys -c "<m:100,300,300,300:0.5><p:0.5><m:100,300:0.5>"
```

![mouse move example](https://github.com/socsieng/sendkeys/raw/main/docs/images/mouse.gif)

#### Mouse click

A mouse click can be activated using the following markup: `<m:button[:modifiers][:clicks]>`
Expand Down
Binary file added docs/images/mouse.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2470c7b

Please sign in to comment.