Follow-up Comment #4, bug #13126 (project wesnoth):

While they don't have SDL names yet, SDL nonetheless reports additional mouse
buttons. For instance, SDL reports the horizontal wheel as buttons 6 and 7.

If you use X, you don't need a special mouse to test it, just type: xmodmap
-e "pointer = 1 2 3 6 7 4 5" to change your vertical wheel to a horizontal
one. By the way, note that X (and therefore SDL) can send up to 32 different
mouse buttons to an application. I don't know Windows' limit, but I have seen
it handle up to 16 buttons.

Even if you don't want to handle these 32 buttons, please at least remove the
"assert(false)" from tevent_handler::handle_event; assertion should never be
used to check that user inputs are "correct", whatever that means.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13126>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to