EventType
Description:
[ CCode ( cname = "sfEventType" , cprefix = "sfEvt" ) ]
public enum EventType
Content:
Enum values:
- Closed - The window requested to be closed (no
data)
- GainedFocus - The window gained the focus
(no data)
- JoystickButtonPressed - A
joystick button was pressed (data in event.joystickButton)
- JoystickButtonReleased - A
joystick button was released (data in event.joystickButton)
- JoystickConnected - A joystick was
connected (data in event.joystickConnect)
- JoystickDisconnected - A joystick
was disconnected (data in event.joystickConnect)
- JoystickMoved - The joystick moved along
an axis (data in event.joystickMove)
- KeyPressed - A key was pressed (data in
event.key)
- KeyReleased - A key was released (data in
event.key)
- LostFocus - The window lost the focus (no
data)
- MouseButtonPressed - A mouse button
was pressed (data in event.mouseButton)
- MouseButtonReleased - A mouse
button was released (data in event.mouseButton)
- MouseEntered - The mouse cursor entered
the area of the window (no data)
- MouseLeft - The mouse cursor left the area
of the window (no data)
- MouseMoved - The mouse cursor moved (data
in event.mouseMove)
- MouseWheelMoved - The mouse wheel was
scrolled (data in event.mouseWheel) (deprecated)
- MouseWheelScrolled - The mouse
wheel was scrolled (data in event.mouseWheelScroll)
- Resized - The window was resized (data in
event.size)
- SensorChanged - A sensor value changed
(data in event.sensor)
- TextEntered - A character was entered
(data in event.text)
- TouchBegan - A touch event began (data in
event.touch)
- TouchEnded - A touch event ended (data in
event.touch)
- TouchMoved - A touch moved (data in
event.touch)