Open xDuck opened 4 years ago
The keycodes in raw2key https://github.com/robotn/gohook/blob/master/tables.go#L4 are not correct for Mac. See link below for correct mac keys
raw2key
https://eastmanreference.com/complete-list-of-applescript-key-codes
The author did not fix the problem under this mac computer.
https://github.com/duolabmeng6/go-qoq/blob/master/mymodel/%E9%94%AE%E4%BB%A3%E7%A0%81.go Already solved code here
The keycodes in
raw2key
https://github.com/robotn/gohook/blob/master/tables.go#L4 are not correct for Mac. See link below for correct mac keyshttps://eastmanreference.com/complete-list-of-applescript-key-codes