From c779698980693fcd6c25c1b44b69e4b2017a93b6 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Mon, 28 May 2018 19:40:24 +0200 Subject: [PATCH] Update: CC - Key Down - AR Football 3 (905x4c8pna.js) 307 bytes modified --- 905x4c8pna.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/905x4c8pna.js b/905x4c8pna.js index 46de454..9233ed4 100644 --- a/905x4c8pna.js +++ b/905x4c8pna.js @@ -11,5 +11,24 @@ if (data.keyCode === R3.System.Input.KEY_UP) { ); } +if (data.keyCode === R3.System.Input.KEY_LEFT) { + R3.Event.Emit( + R3.Event.GAME_DATA, + { + type : 'left' + } + ); +} + +if (data.keyCode === R3.System.Input.KEY_RIGHT) { + R3.Event.Emit( + R3.Event.GAME_DATA, + { + type : 'right' + } + ); +} + + //@ sourceURL=keyDown.js \ No newline at end of file