type t = {button : Button.t; position : OgamlMath.Vector2i.t; shift : bool; control : bool; alt : bool}
A record containing information about a mouse event
See : OgamlCore.Button
Record fields
button : Button.t
|
Button corresponding to the event |
position : OgamlMath.Vector2i.t
|
Position of the mouse when the event was triggered |
shift : bool
|
true iff the shift modifier was active during the event |
control : bool
|
true iff the ctrl modifier (or cmd under OSX) was active during the event |
alt : bool
|
true iff the alt modifier was active during the event |
See : OgamlCore.Button