mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +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
|
||||
}
|
||||
|
||||
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 New Issue
Block a user