struct EE::UI::KeyBindings::Shortcut

#include <keyboardshortcut.hpp>

struct Shortcut {
    // fields

    Keycode key { KEY_UNKNOWN };
    Uint32 mod { 0 };

    // construction

    Shortcut();
    Shortcut(Keycode key, Uint32 mod);
    Shortcut(const Uint64& code);

    // methods

    Uint64 toUint64() const;
    operator Uint64() const;
    bool empty() const;
};