val position : unit -> OgamlMath.Vector2i.t
Returns the postion of the mouse in screen coordinates
See : OgamlMath.Vector2i
See : OgamlMath.Vector2i
This modules provides a low-level access to the mouse in real-time. You should probably use the OgamlGraphics.Mouse wrapper instead.
val position : unit -> OgamlMath.Vector2i.t
val relative_position : Window.t -> OgamlMath.Vector2i.t
val set_position : OgamlMath.Vector2i.t -> unit
val set_relative_position : Window.t -> OgamlMath.Vector2i.t -> unit
val is_pressed : Button.t -> bool