robotn/gohook

Keycodes don't match for Mac

xDuck opened this issue · 2 comments

xDuck commented

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

https://eastmanreference.com/complete-list-of-applescript-key-codes

The author did not fix the problem under this mac computer.