forked from mirrors/kolyah35-minecraft-pe-0.6.1
sprint on ctrl
This commit is contained in:
parent
bf2248063d
commit
5385342272
4 changed files with 10 additions and 0 deletions
|
|
@ -71,9 +71,11 @@ public:
|
|||
static const int KEY_F11 = 122;
|
||||
static const int KEY_F12 = 123;
|
||||
|
||||
|
||||
static const int KEY_ESCAPE = 27;
|
||||
static const int KEY_SPACE = 32;
|
||||
static const int KEY_LSHIFT = 10;
|
||||
static const int KEY_LEFT_CTRL = 232;
|
||||
|
||||
static bool isKeyDown(int keyCode) {
|
||||
return _states[keyCode] == KeyboardAction::KEYDOWN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue