|
Axmol 3.0.0-89d6d9a
|
Mouse / pen button indices. More...
#include <Event.h>
Public Types | |
| enum | { None = -1 , Primary = 0 , Secondary , Tertiary , Left = Primary , Right = Secondary , Middle = Tertiary } |
Mouse / pen button indices.
This enum-like struct defines integer indices for common mouse/pen buttons. The values are intended to be used as button indices (0..n-1) when reporting which single button triggered an event. Use -1 to indicate "no button" (for example, touch events or pure move events).
Mapping convention:
| anonymous enum |