aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-01-18 10:57:30 +0100
committerraysan5 <raysan5@gmail.com>2015-01-18 10:57:30 +0100
commit5104567a24021fb07e62f941b4b9e64f4bda56e7 (patch)
treeefbe8719ae383edd60b08d0969377218e275430a /src/raylib.h
parent2968ba9938792753a876deb3e2584f3361c60b4d (diff)
downloadraylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.tar.gz
raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.zip
Some code tweaks
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 69966069..14590d04 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -312,7 +312,6 @@ void SetExitKey(int key); // Set a custom key
#endif
int GetScreenWidth(void); // Get current screen width
int GetScreenHeight(void); // Get current screen height
-int GetKeyPressed(void); // Get latest key pressed
void ClearBackground(Color color); // Sets Background Color
void BeginDrawing(void); // Setup drawing canvas to start drawing
@@ -342,6 +341,7 @@ bool IsKeyPressed(int key); // Detect if a key has b
bool IsKeyDown(int key); // Detect if a key is being pressed
bool IsKeyReleased(int key); // Detect if a key has been released once
bool IsKeyUp(int key); // Detect if a key is NOT being pressed
+int GetKeyPressed(void); // Get latest key pressed
bool IsMouseButtonPressed(int button); // Detect if a mouse button has been pressed once
bool IsMouseButtonDown(int button); // Detect if a mouse button is being pressed