module SFMouse: sig
.. end
Online documentation for the Mouse class
type
mouse_button =
| |
ButtonLeft |
| |
ButtonRight |
| |
ButtonMiddle |
| |
ButtonX1 |
| |
ButtonX2 |
type
mouse_wheel =
| |
VerticalWheel |
| |
HorizontalWheel |
val getButtonCount : unit -> int
val isButtonPressed : button:mouse_button -> bool
val getPosition : unit -> int * int
val setPosition : pos:int * int -> unit
val string_of_button : mouse_button -> string
val button_of_string : string -> mouse_button
val string_of_wheel : mouse_wheel -> string
val wheel_of_string : string -> mouse_wheel