module Sdlmouse:sig
..end
Mouse event handling
API Doc: Mouse category
=
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
typepos =
int * int
val get_state : unit -> pos * button list
unit -> button list
: val get_pos : unit -> pos
val warp_in_window : Sdlwindow.t -> x:int -> y:int -> unit
val set_relative_mode : enabled:bool -> unit
val show_cursor : toggle:bool -> unit
val cursor_is_shown : unit -> bool
val to_string : button -> string
val of_string : string -> button