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: #### For everything else:
``` ```
GCC, libpng GCC,
libpng (bitmap)
X11 with the XTest extension (also known as the Xtst library) X11 with the XTest extension (also known as the Xtst library)
Event: Event:
xcb, xkb, libxkbcommon xcb, xkb, libxkbcommon
Clipboard:
xsel xclip
``` ```
##### Ubuntu: ##### Ubuntu:
@ -104,7 +109,7 @@ sudo apt install xsel xclip
##### Fedora: ##### Fedora:
```yml ```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 sudo dnf install libpng-devel

View File

@ -73,13 +73,18 @@ Or you can removed the bitmap.go )
#### For everything else (Linux 等其他系统): #### For everything else (Linux 等其他系统):
``` ```
GCC, libpng GCC,
libpng(bitmap)
X11 with the XTest extension (also known as the Xtst library) X11 with the XTest extension (also known as the Xtst library)
事件: 事件:
xcb, xkb, libxkbcommon xcb, xkb, libxkbcommon
Clipboard:
xsel xclip
``` ```
##### Ubuntu: ##### Ubuntu:
@ -98,7 +103,7 @@ sudo apt install xsel xclip
##### Fedora: ##### Fedora:
```yml ```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 sudo dnf install libpng-devel

View File

@ -46,7 +46,7 @@
"cmd" is the "win" key for windows "cmd" is the "win" key for windows
"lcmd" left command "lcmd" left command
"rcmd" right command "rcmd" right command
"command" // "command"
"alt" "alt"
"lalt" left alt "lalt" left alt
"ralt" right alt "ralt" right alt
@ -57,7 +57,7 @@
"shift" "shift"
"lshift" left shift "lshift" left shift
"rshift" right shift "rshift" right shift
"right_shift" // "right_shift"
"capslock" "capslock"
"space" "space"
"print" "print"

View File

@ -19,9 +19,7 @@ See Requirements:
Installation: Installation:
With Go module support (Go 1.11+), just import: With Go module support (Go 1.11+), just import:
```go
import "github.com/go-vgo/robotgo" import "github.com/go-vgo/robotgo"
```
Otherwise, to install the robotgo package, run the command: Otherwise, to install the robotgo package, run the command:
go get -u github.com/go-vgo/robotgo go get -u github.com/go-vgo/robotgo