package ocamlsdl

  1. Overview
  2. Docs
type keyboard_event_func = Sdlkey.t -> switch_state -> int -> int -> unit
type mouse_event_func = Sdlmouse.button -> switch_state -> int -> int -> unit
type mousemotion_event_func = int -> int -> unit
type idle_event_func = unit -> unit
type resize_event_func = int -> int -> unit
val set_keyboard_event_func : keyboard_event_func -> unit
val set_mouse_event_func : mouse_event_func -> unit
val set_mousemotion_event_func : mousemotion_event_func -> unit
val set_idle_event_func : idle_event_func -> unit
val set_resize_event_func : resize_event_func -> unit
val start_event_loop : unit -> unit
val exit_event_loop : unit -> unit
OCaml

Innovation. Community. Security.