Oxygine  1
2g game engine
key.h
1 #pragma once
2 #include "oxygine-include.h"
3 #ifdef __S3E__
4 #else
5 # include "SDL_keyboard.h"
6 #endif
7 namespace oxygine
8 {
9  namespace key
10  {
11  typedef int keycode;
12 
13  void init();
14  void release();
15 
19  bool wasPressed(keycode);
20 
24  bool wasReleased(keycode);
25 
26 
31  bool isPressed(keycode);
32  }
33 }
–oxgl-end–!
Definition: Actor.h:14