Update godoc and README.md

This commit is contained in:
vcaesar 2021-12-24 13:50:06 -04:00
parent 903fad7d02
commit 21eeb19818
4 changed files with 16 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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