Optional
buttonFor mouse events, the mouse button pressed.
Optional
ccIf the event is from CraftOS, the raw event data.
Optional
charactersFor character input events, the characters pressed.
Optional
clickFor mouse down events, the number of times the button was pressed.
Optional
extraFor application-defined events, any extra parameters to pass.
Optional
isFor key down events, whether the key was repeated.
Optional
keyFor key events, the key code pressed.
Optional
locationThe location of the event relative to a window.
Optional
menuFor menu item events, the key of the menu item triggered.
Optional
modifierThe modifier keys pressed with the event.
Optional
phoenixIf the event is from Phoenix, the raw event data.
Optional
scrollFor mouse scroll events, the direction of the scroll (1 or -1).
The subtype of the event, if relevant.
The timestamp that the event occurred at.
The type of the event.
Optional
windowThe window the event is intended for.
For character input events, the characters pressed, without modifier keys.
A CCEvent holds information about a single event that was triggered by the system, application, or window manager.