Ocular Engine
KeyboardInputEvent.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EVENTS_KEYBOARD_INPUT_EVENT__H__
19 #define __H__OCULAR_EVENTS_KEYBOARD_INPUT_EVENT__H__
20 
21 #include "Events/AEvent.hpp"
22 #include "Input/Keys.hpp"
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Core
37  {
46  class KeyboardInputEvent : public AEvent
47  {
48  public:
49 
50  KeyboardInputEvent(KeyboardKeys key, KeyState state);
52 
53  virtual ~KeyboardInputEvent();
54 
55  KeyboardKeys key;
56  KeyState state;
57 
58  protected:
59 
60  private:
61  };
62  }
66 }
71 //------------------------------------------------------------------------------------------
72 
73 #endif
KeyState state
Key that was pressed or released.
Definition: KeyboardInputEvent.hpp:56
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: KeyboardInputEvent.hpp:46
Definition: AEvent.hpp:44