OptionalbuttonFor mouse events, the mouse button pressed.
OptionalccIf the event is from CraftOS, the raw event data.
OptionalcharactersFor character input events, the characters pressed.
OptionalclickFor mouse down events, the number of times the button was pressed.
OptionalextraFor application-defined events, any extra parameters to pass.
OptionalisFor key down events, whether the key was repeated.
OptionalkeyFor key events, the key code pressed.
OptionallocationThe location of the event relative to a window.
OptionalmenuFor menu item events, the key of the menu item triggered.
OptionalmodifierThe modifier keys pressed with the event.
OptionalphoenixIf the event is from Phoenix, the raw event data.
OptionalscrollFor 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.
OptionalwindowThe window the event is intended for.
For character input events, the characters pressed, without modifier keys.
StaticstartStarts sending periodic events to the application.
The number of seconds to wait until sending events
The amount of time to wait between events
StaticstopStops sending periodic events if enabled.
A CCEvent holds information about a single event that was triggered by the system, application, or window manager.