Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse forward and back button events not fired on macos 14.5 #465

Open
eygraber opened this issue Jun 20, 2024 · 2 comments
Open

Mouse forward and back button events not fired on macos 14.5 #465

eygraber opened this issue Jun 20, 2024 · 2 comments

Comments

@eygraber
Copy link

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
Copy link
Author

I tried packaging the app into a dmg, and installing it. Once I do that and run it, the OS asks for accessibility permissions which I grant, but there are still no events for mouse forward and back buttons.

@eygraber
Copy link
Author

Looks like the issue is that Logi Options+ is converting the events into NSEvent swipes. I don't suppose this library could support that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant