mirror of
https://github.com/robotn/gohook.git
synced 2025-04-27 22:49:42 +08:00
forgot a debug print
This commit is contained in:
parent
bc4437b7a5
commit
9f960b4d26
1
hook.go
1
hook.go
@ -198,7 +198,6 @@ func Register(when uint8, cmds []string, cb func(Event)) {
|
|||||||
tmp = append(tmp, Keycode[v])
|
tmp = append(tmp, Keycode[v])
|
||||||
}
|
}
|
||||||
keys[key] = tmp
|
keys[key] = tmp
|
||||||
fmt.Println(tmp)
|
|
||||||
cbs[key] = cb
|
cbs[key] = cb
|
||||||
events[when] = append(events[when], key)
|
events[when] = append(events[when], key)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user