5#include "fifechan/keyevent.hpp"
7#include "fifechan/inputevent.hpp"
8#include "fifechan/key.hpp"
Type getType() const
Gets the type of the event.
bool mIsNumericPad
True if the numeric pad was used, false otherwise.
Key const & getKey() const
Gets the key of the event.
bool isNumericPad() const
Checks if the key event occurred on the numeric pad.
KeyEvent(Widget *source, Widget *distributor, bool isShiftPressed, bool isControlPressed, bool isAltPressed, bool isMetaPressed, Type type, bool isNumericPad, Key const &key)
Constructor.
Type mType
Holds the type of the key event.
Key mKey
Holds the key of the key event.
Represents a keyboard key or character code.