From aa7accb3f1eedefeaa1262686db1a5f88db3d98d Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Tue, 31 May 2011 02:45:49 -0300 Subject: [PATCH] Added escape key. --- lib/keyboard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/keyboard.h b/lib/keyboard.h index a00047e..cccf33c 100644 --- a/lib/keyboard.h +++ b/lib/keyboard.h @@ -4,7 +4,8 @@ #include "deck.h" #include "cursor.h" -#define KEY_SPACEBAR ' ' +#define KEY_SPACEBAR 32 +#define KEY_ESCAPE 27 extern struct deck *deck; extern struct cursor *cursor;