Get absolute mouse button?

Some users prefer right-click select so they swap left and right button functionality in system setting. Unfortunately GLFW doesn’t know about this, thus when calling glfwGetMouseButton(window, GLFW_MOUSE_BUTTON_LEFT) only returns GLFW_PRESS when right-clicking. Is there a way to use absolute mouse button? A function which returns GLFW_TRUE when user swap the buttons maybe?
Sorry my English is poor so I didn’t get the right keyword for googling.

Hi @ltqsoft,

Welcome to the GLFW forums!

There’s no functionality for this in GLFW.

You could add a way for users to swap the buttons in your application if they need this?

Cheers,

Doug.