module CL_InputEvent:sig
..end
API documentation for the class CL_InputEvent
type
t
type
kind =
| |
No_key |
| |
Pressed |
| |
Released |
| |
Doubleclick |
| |
Pointer_moved |
| |
Axis_moved |
| |
Proximity_change |
val init : unit -> t
val delete : t -> unit
val id : t -> int
val str : t -> string
val get_key : t -> CL_Key.keycode
val get_mouse : t -> CL_Mouse.t
val get_type : t -> kind
val mouse_pos : t -> CL_Point.t
val axis_pos : t -> float
val repeat_count : t -> int
val alt : t -> bool
val shift : t -> bool
val ctrl : t -> bool