projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5829cb6
)
added X button to mimic the end button
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 22 Nov 2008 06:04:59 +0000
(
01:04
-0500)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 22 Nov 2008 06:04:59 +0000
(
01:04
-0500)
src/input/inputManager.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/input/inputManager.cpp
b/src/input/inputManager.cpp
index
3ecb477
..
21934c4
100644
(file)
--- a/
src/input/inputManager.cpp
+++ b/
src/input/inputManager.cpp
@@
-18,6
+18,8
@@
#include "inputManager.h"
#include "../debug.h"
+#include "../config/keys.h"
+
/// ***** Private Variables *****
@@
-68,6
+70,9
@@
void input::update()
case SDL_KEYDOWN:
keyState[event.key.keysym.sym] = wasP;
break;
+ case SDL_QUIT:
+ keyState[key::end] = wasR;
+ break;
}
}
}