module CL_InputDevice:sig
..end
API documentation for the class CL_InputDevice
type
t
type
kind =
| |
Keyboard |
| |
Pointer |
| |
Joystick |
| |
Tablet |
| |
Unknown |
val get_keycode : t -> key:CL_Key.keycode -> bool
val get_position : t -> CL_Point.t
val get_name : t -> string
val get_device_name : t -> string
val get_axis_count : t -> int
t -> int
: val in_proximity : t -> bool
val get_axis : t -> index:int -> float
val delete : t -> unit