module SFEvent:sig
..end
Online documentation for the Event class
type
t =
| |
Closed |
|||
| |
MouseMoved of |
(* | x, y | *) |
| |
Resized of |
(* | width, height | *) |
| |
MouseButtonPressed of |
(* | x, y | *) |
| |
MouseButtonReleased of |
(* | x, y | *) |
| |
MouseWheelMoved of |
(* | delta, x, y | *) |
| |
MouseWheelScrolled of |
(* | wheel, delta, x, y | *) |
| |
KeyPressed of |
(* | alt, control, shift, system | *) |
| |
KeyReleased of |
(* | alt, control, shift, system | *) |
| |
TextEntered of |
|||
| |
MouseEntered |
|||
| |
MouseLeft |
|||
| |
LostFocus |
|||
| |
GainedFocus |
|||
| |
JoystickMoved of |
(* | joystickId, axis, position | *) |
| |
JoystickButtonPressed of |
(* | joystickId, button | *) |
| |
JoystickButtonReleased of |
(* | joystickId, button | *) |
| |
JoystickConnected of |
(* | joystickId | *) |
| |
JoystickDisconnected of |
(* | joystickId | *) |
| |
TouchBegan of |
(* | finger, x, y | *) |
| |
TouchMoved of |
(* | finger, x, y | *) |
| |
TouchEnded of |
(* | finger, x, y | *) |
| |
SensorChanged of |
(* | type, x, y, z | *) |