From 3bd4ed2edcb8a5343f2e5abf999d51ecd7b6a878 Mon Sep 17 00:00:00 2001 From: GeoffreyFrogeye Date: Tue, 8 Apr 2014 21:48:53 +0200 Subject: [PATCH] Can be controlled with numbers 8 : UP, 6 : RIGHT, 2 : DOWN, 4 : LEFT Nothing too difficult Can be useful for broken devices, or hipsters --- 2048.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/2048.c b/2048.c index 78535be..b362672 100644 --- a/2048.c +++ b/2048.c @@ -531,15 +531,19 @@ int AddIn_main(int isAppli, unsigned short OptionNum) { GetKey(&key); switch (key) { case KEY_CTRL_UP: + case KEY_CHAR_8: Game_move(0); break; case KEY_CTRL_RIGHT: + case KEY_CHAR_6: Game_move(1); break; case KEY_CTRL_DOWN: + case KEY_CHAR_2: Game_move(2); break; case KEY_CTRL_LEFT: + case KEY_CHAR_4: Game_move(3); break; case KEY_CTRL_DEL: