update parameter name and version

This commit is contained in:
vcaesar 2020-10-08 11:11:03 -04:00
parent 39d2014c54
commit fdaa440f26
2 changed files with 5 additions and 5 deletions

View File

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

View File

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