mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
update code remove duplicate code and update godoc
This commit is contained in:
parent
ea74787b10
commit
50af1aa75f
@ -785,9 +785,10 @@ func SetKeyDelay(delay int) {
|
||||
C.set_keyboard_delay(C.size_t(delay))
|
||||
}
|
||||
|
||||
// SetKeyboardDelay set keyboard delay, Wno-deprecated
|
||||
// SetKeyboardDelay set keyboard delay, Wno-deprecated,
|
||||
// this function will be removed in version v1.0.0
|
||||
func SetKeyboardDelay(delay int) {
|
||||
C.set_keyboard_delay(C.size_t(delay))
|
||||
SetKeyDelay(delay)
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user