mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
update parameter name and version
This commit is contained in:
parent
39d2014c54
commit
fdaa440f26
2 changed files with 5 additions and 5 deletions
8
hook.go
8
hook.go
|
|
@ -53,13 +53,13 @@ func StopEvent() {
|
|||
}
|
||||
|
||||
// EventProcess return go hook process
|
||||
func EventProcess(Events chan hook.Event) chan bool {
|
||||
return hook.Process(Events)
|
||||
func EventProcess(events chan hook.Event) chan bool {
|
||||
return hook.Process(events)
|
||||
}
|
||||
|
||||
// EventHook register gohook event
|
||||
func EventHook(When uint8, keysPressed []string, Callback func(hook.Event)) {
|
||||
hook.Register(When, keysPressed, Callback)
|
||||
func EventHook(when uint8, keysPressed []string, callback func(hook.Event)) {
|
||||
hook.Register(when, keysPressed, callback)
|
||||
}
|
||||
|
||||
// AddEvent add event listener,
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ import (
|
|||
|
||||
const (
|
||||
// Version get the robotgo version
|
||||
Version = "v0.90.3.1072, MT. Rainier!"
|
||||
Version = "v0.91.0.1089, MT. Rainier!"
|
||||
)
|
||||
|
||||
// GetVersion get the robotgo version
|
||||
|
|
|
|||
Loading…
Reference in a new issue