mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
add key Kind Fixed #203
This commit is contained in:
parent
e71e8e9c3e
commit
19c54fff4f
1 changed files with 1 additions and 1 deletions
|
|
@ -1275,7 +1275,7 @@ func AddEvents(key string, arr ...string) bool {
|
|||
ct = true
|
||||
}
|
||||
|
||||
if ct && e.Keycode == uint16(keycode[key].(int)) {
|
||||
if ct && e.Kind == hook.KeyUp && e.Keycode == uint16(keycode[key].(int)) {
|
||||
hook.End()
|
||||
// k = 0
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue