no ALLEGRO_MOUSE_MAX constant?

is there a ALLEGRO_MOUSE_MAX constant I can use for reading inputs?
there is a ALLEGRO_KEY_MAX so it would only make sense.

Edgar Reynaldo

There will never be more than 16 buttons on a 'mouse', ever. But you can call this function :


16 buttons... next they put a motiontracker under your keyboard... ;D


I can't imagine a 16-button mouse, it must be a damn monster... :-/


ah ok.
why does allegro use a function rather then a Constant?

Edgar Reynaldo

If it was a constant, it could never change, and it wouldn't be accurate

Thread #617983. Printed from