jnativehook icon indicating copy to clipboard operation
jnativehook copied to clipboard

Mouse forward and back button events not fired on macos 14.5

Open eygraber opened this issue 1 year ago • 2 comments

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.

eygraber avatar Jun 20 '24 00:06 eygraber