package sfml

  1. Overview
  2. Docs
type t =
  1. | Closed
  2. | MouseMoved of int * int
  3. | Resized of int * int
  4. | MouseButtonPressed of SFMouse.mouse_button * int * int
  5. | MouseButtonReleased of SFMouse.mouse_button * int * int
  6. | MouseWheelMoved of int * int * int
    (*
    • deprecated Use MouseWheelScrolled instead
    *)
  7. | MouseWheelScrolled of SFMouse.mouse_wheel * float * int * int
  8. | KeyPressed of SFKey.t * bool * bool * bool * bool
  9. | KeyReleased of SFKey.t * bool * bool * bool * bool
  10. | TextEntered of int32
  11. | MouseEntered
  12. | MouseLeft
  13. | LostFocus
  14. | GainedFocus
  15. | JoystickMoved of int * SFJoystick.axis * float
  16. | JoystickButtonPressed of int * int
  17. | JoystickButtonReleased of int * int
  18. | JoystickConnected of int
  19. | JoystickDisconnected of int
  20. | TouchBegan of int * int * int
  21. | TouchMoved of int * int * int
  22. | TouchEnded of int * int * int
  23. | SensorChanged of SFSensor.sensor_type * float * float * float
OCaml

Innovation. Community. Security.