Object representing a keyboard. More...
#include <Keyboard.hpp>
Classes | |
class | Event |
Keyboard event object. More... | |
struct | Key |
struct | Modifier |
Public Member Functions | |
Keyboard () | |
Creates a Keyboard. | |
std::auto_ptr< a5::Event > | Handle (ALLEGRO_EVENT *raw_event) const |
Processes Allegro event messages in to A5SES Events. | |
void | SetEventSource (ALLEGRO_EVENT_SOURCE *event_source) |
Points the Allegro event source towards this object. | |
operator ALLEGRO_EVENT_SOURCE * () const | |
Returns a pointer to the Allegro event source. |
Object representing a keyboard.
a5::Keyboard::Keyboard | ( | ) |
Creates a Keyboard.
std::auto_ptr<a5::Event> a5::Keyboard::Handle | ( | ALLEGRO_EVENT * | raw_event | ) | const [virtual] |
Processes Allegro event messages in to A5SES Events.
Implements a5::Event_Source.
void a5::Event_Source::SetEventSource | ( | ALLEGRO_EVENT_SOURCE * | event_source | ) | [inherited] |
Points the Allegro event source towards this object.
a5::Event_Source::operator ALLEGRO_EVENT_SOURCE * | ( | ) | const [inherited] |
Returns a pointer to the Allegro event source.