I use gohook in the project github.com/shortcut and publish it to macOS / Linux / Windows.
In macOS if I push some key and hold it will send multiple keyDown events altought I clicked only once and holding.
in Windows if I push some key without holding it send multiple keyDown events, if I hold then also same as macOS - multiple events are sent for simple hit on keys.
Gohook version c94ab299da47174a07a1d2d28d42750183062a51
Go version: go version go1.22.0 darwin/arm64
Gcc version: Apple clang version 15.0.0 (clang-1500.1.0.2.5)
I use gohook in the project github.com/shortcut and publish it to macOS / Linux / Windows.
In macOS if I push some key and hold it will send multiple keyDown events altought I clicked only once and holding. in Windows if I push some key without holding it send multiple keyDown events, if I hold then also same as macOS - multiple events are sent for simple hit on keys.
go version go1.22.0 darwin/arm64
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
main.go#L181