Module OgamlCore.LL.Mouse

Getting real-time mouse information

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