Oxygine
1
2g game engine
oxygine
src
KeyEvent.h
1
#pragma once
2
#include "Event.h"
3
4
#ifdef KEY_EVENT
5
#undef KEY_EVENT
6
#endif
7
8
namespace
oxygine
9
{
11
class
KeyEvent
:
public
Event
12
{
13
public
:
14
enum
KEY_EVENT
15
{
16
KEY_DOWN = sysEventID(
'K'
,
'E'
,
'D'
),
17
KEY_UP = sysEventID(
'K'
,
'E'
,
'U'
)
18
};
19
20
SDL_KeyboardEvent* data;
21
KeyEvent
(KEY_EVENT k, SDL_KeyboardEvent* d) :
Event
(k), data(d) {}
22
};
23
}
oxygine::Event
Definition:
Event.h:10
oxygine::KeyEvent
Definition:
KeyEvent.h:11
oxygine
–oxgl-end–!
Definition:
Actor.h:14
Generated on Tue Feb 13 2018 05:01:17 for Oxygine by
1.8.14