package bogue

  1. Overview
  2. Docs

Mouse information

Dependency graph

val pos : unit -> int * int

Get current mouse position

val window_pos : Tsdl.Sdl.window -> int * int

Return the mouse position with respect to the given window, using window position if necessary.

val button_pos : Tsdl.Sdl.event -> int * int
val finger_pos : Tsdl.Sdl.event -> float * float
val pointer_pos : Tsdl.Sdl.event -> int * int
OCaml

Innovation. Community. Security.