Kaya 0.5.2 reference for SDL::SDLEvent

List of functions and data types in SDL

SDL::SDLEvent

Constructors

Usage

An input event - either a key being pressed, the mouse being moved to a particular location, or a mouse button being pressed while the mouse is at a particular location.

The left mouse button is usually button 1, with the right button given number 2. In theory, a sufficiently large mouse could go up to button 255.

The KeyModifier list allows detection of whether particular modifier keys are pressed, allowing combinations such as 'Ctrl-Numpad7' to be detected.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya