mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
add key Kind Fixed #203
This commit is contained in:
parent
e71e8e9c3e
commit
19c54fff4f
@ -1275,7 +1275,7 @@ func AddEvents(key string, arr ...string) bool {
|
|||||||
ct = true
|
ct = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if ct && e.Keycode == uint16(keycode[key].(int)) {
|
if ct && e.Kind == hook.KeyUp && e.Keycode == uint16(keycode[key].(int)) {
|
||||||
hook.End()
|
hook.End()
|
||||||
// k = 0
|
// k = 0
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user