0

In GLFW. which constant defines the X buttons on the mouse. The ones on the side of generally gaming mice.

I know that SFML has sf::Mouse::XButton1 and sf::Mouse::XButton2 but which one out of the nine denotes those buttons in GLFW.

flmng0
  • 387
  • 1
  • 2
  • 14

1 Answers1

0

Check the docs.

Apparently, GLFW has 12 different mappings for mouse buttons.

Daniel Ribeiro
  • 10,156
  • 12
  • 47
  • 79
  • I tried checking the docs and even the comments in the header but to no luck. It only list what's there, not what's what. – flmng0 Jul 03 '17 at 10:48
  • I'd advise you to test the button event against all of these mappings to be sure. – Daniel Ribeiro Jul 03 '17 at 10:49
  • Sadly I can't I'm using a Logitech mouse, but I re-bound the keys ages ago and they don't have support for linux. So... ;~; – flmng0 Jul 03 '17 at 10:57