mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-30 22:13:54 +00:00
update parameter name and version
This commit is contained in:
parent
39d2014c54
commit
fdaa440f26
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 New Issue
Block a user