5#ifndef INCLUDE_FIFECHAN_KEYEVENT_HPP_
6#define INCLUDE_FIFECHAN_KEYEVENT_HPP_
12#include "fifechan/platform.hpp"
15#include "fifechan/events/inputevent.hpp"
16#include "fifechan/key.hpp"
31 enum class Type : std::uint8_t
55 bool isControlPressed,
75 bool isNumericPad()
const;
82 Key
const & getKey()
const;
bool mIsNumericPad
True if the numeric pad was used, false otherwise.
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.
Used replacement tokens by configure_file():