mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Update KeyToggle
This commit is contained in:
parent
16dcd4dd45
commit
1dc93aab3d
@ -447,8 +447,9 @@ func KeyToggle(args ...string) {
|
||||
camkey := C.CString(amkey)
|
||||
camkeyt := C.CString(amkeyt)
|
||||
// defer func() {
|
||||
str := C.aKeyToggle(ckey, cadown, camkey, camkeyt)
|
||||
fmt.Println(str)
|
||||
// str := C.aKeyToggle(ckey, cadown, camkey, camkeyt)
|
||||
// fmt.Println(str)
|
||||
C.aKeyToggle(ckey, cadown, camkey, camkeyt)
|
||||
// }()
|
||||
defer C.free(unsafe.Pointer(ckey))
|
||||
defer C.free(unsafe.Pointer(cadown))
|
||||
|
Loading…
Reference in New Issue
Block a user