9 #include <gale/key/key.hpp> 15 enum gale::key::keyboard m_type;
16 enum gale::key::status m_status;
17 gale::key::Special m_specialKey;
18 char32_t m_unicodeData;
20 Entry(
enum gale::key::keyboard _type,
21 enum gale::key::status _status,
22 gale::key::Special _specialKey,
26 m_specialKey(_specialKey),
27 m_unicodeData(_char) {
30 void setType(
enum gale::key::keyboard _type) {
33 inline const enum gale::key::keyboard& getType()
const {
36 void setStatus(
enum gale::key::status _status) {
39 inline const enum gale::key::status& getStatus()
const {
42 void setSpecialKey(
const gale::key::Special& _specialKey) {
43 m_specialKey = _specialKey;
45 inline const gale::key::Special& getSpecialKey()
const {
48 void setChar(char32_t _char) {
49 m_unicodeData = _char;
51 inline const char32_t& getChar()
const {
60 enum gale::key::status _status,
61 gale::key::Special _specialKey,
63 m_event(_type, _status, _specialKey, _char) {