14 enum gale::key::type m_type;
15 enum gale::key::status m_status;
18 gale::key::Special m_specialKey;
20 Input(
enum gale::key::type _type,
21 enum gale::key::status _status,
24 gale::key::Special _specialKey):
29 m_specialKey(_specialKey) {
32 void setType(
enum gale::key::type _type) {
35 inline const enum gale::key::type& getType()
const {
38 void setStatus(
enum gale::key::status _status) {
41 inline const enum gale::key::status& getStatus()
const {
44 void setId(uint8_t _id) {
47 inline const uint8_t& getId()
const {
50 void setPos(
const vec2& _pos) {
53 inline const vec2& getPos()
const {
56 void setSpecialKey(
const gale::key::Special& _specialKey) {
57 m_specialKey = _specialKey;
59 inline const gale::key::Special& getSpecialKey()
const {
74 enum gale::key::status _status,
79 gale::key::Special _specialKey) :
80 m_event(_type, _status, _id, _pos, _specialKey),
82 m_realIdEvent(_realIdEvent) { };
86 int32_t m_realIdEvent;
94 void setRealId(int32_t _realIdEvent) {
95 m_realIdEvent = _realIdEvent;
97 inline int32_t getRealId()
const {