module Old: sig .. end
Deprecated.this interface was used in version of ocamlsdl < 0.6
Callback-based event handling.
Definition of the event callbacks
type Sdlkey.t -> Sdlevent.switch_state -> int -> int -> unit 
Keyboard event called with the activated key, its state and the
   coordinates of the mouse pointer
type Sdlmouse.button -> Sdlevent.switch_state -> int -> int -> unit 
Mouse button event called with the activated button, its state
   and the coordinates of the mouse pointer
type int -> int -> unit 
Mouse motion event called with the coordinates of the mouse
  pointer
type unit -> unit 
type int -> int -> unit 
Functions for setting the current event callbacks
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
Event loop
val start_event_loop : unit -> unit
val exit_event_loop : unit -> unit