jnativehook
jnativehook copied to clipboard
Mouse forward and back button events not fired on macos 14.5
I have a listener set up like so:
val listener = object : NativeMouseInputListener {
override fun nativeMousePressed(nativeEvent: NativeMouseEvent?) {
println("Mouse Pressed ${nativeEvent?.button}")
}
override fun nativeMouseClicked(nativeEvent: NativeMouseEvent?) {
println("Mouse Clicked ${nativeEvent?.button}")
}
override fun nativeMouseReleased(nativeEvent: NativeMouseEvent?) {
println("Mouse Release ${nativeEvent?.button}")
}
}
It works on Ubuntu, but on macos it only fires for button 1 and 2 (3 only works for the pressed event).
I tried 2.2.2 and the latest snapshot.