mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-30 22:13:54 +00:00
Update godoc and README.md
This commit is contained in:
parent
903fad7d02
commit
21eeb19818
@ -79,13 +79,18 @@ In the plans, the bitmap.go will moves to the bitmap dir, but break the API. )
|
||||
#### For everything else:
|
||||
|
||||
```
|
||||
GCC, libpng
|
||||
GCC,
|
||||
libpng (bitmap)
|
||||
|
||||
X11 with the XTest extension (also known as the Xtst library)
|
||||
|
||||
Event:
|
||||
|
||||
xcb, xkb, libxkbcommon
|
||||
|
||||
Clipboard:
|
||||
|
||||
xsel xclip
|
||||
```
|
||||
|
||||
##### Ubuntu:
|
||||
@ -104,7 +109,7 @@ sudo apt install xsel xclip
|
||||
##### Fedora:
|
||||
|
||||
```yml
|
||||
sudo dnf install libxkbcommon-devel libXtst-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-devel
|
||||
sudo dnf install libXtst-devel libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-devel
|
||||
|
||||
sudo dnf install libpng-devel
|
||||
|
||||
|
@ -73,13 +73,18 @@ Or you can removed the bitmap.go )
|
||||
#### For everything else (Linux 等其他系统):
|
||||
|
||||
```
|
||||
GCC, libpng
|
||||
GCC,
|
||||
libpng(bitmap)
|
||||
|
||||
X11 with the XTest extension (also known as the Xtst library)
|
||||
|
||||
事件:
|
||||
|
||||
xcb, xkb, libxkbcommon
|
||||
|
||||
Clipboard:
|
||||
|
||||
xsel xclip
|
||||
```
|
||||
|
||||
##### Ubuntu:
|
||||
@ -98,7 +103,7 @@ sudo apt install xsel xclip
|
||||
##### Fedora:
|
||||
|
||||
```yml
|
||||
sudo dnf install libxkbcommon-devel libXtst-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-devel
|
||||
sudo dnf install libXtst-devel libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-devel
|
||||
|
||||
sudo dnf install libpng-devel
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
"cmd" is the "win" key for windows
|
||||
"lcmd" left command
|
||||
"rcmd" right command
|
||||
"command"
|
||||
// "command"
|
||||
"alt"
|
||||
"lalt" left alt
|
||||
"ralt" right alt
|
||||
@ -57,7 +57,7 @@
|
||||
"shift"
|
||||
"lshift" left shift
|
||||
"rshift" right shift
|
||||
"right_shift"
|
||||
// "right_shift"
|
||||
"capslock"
|
||||
"space"
|
||||
"print"
|
||||
|
@ -19,9 +19,7 @@ See Requirements:
|
||||
|
||||
Installation:
|
||||
With Go module support (Go 1.11+), just import:
|
||||
```go
|
||||
import "github.com/go-vgo/robotgo"
|
||||
```
|
||||
|
||||
Otherwise, to install the robotgo package, run the command:
|
||||
go get -u github.com/go-vgo/robotgo
|
||||
|
Loading…
Reference in New Issue
Block a user