From 1c5e13ae6f081b8777fca37908a30b559a8ad6e5 Mon Sep 17 00:00:00 2001 From: ng Date: Tue, 31 Mar 2020 10:43:41 +0200 Subject: [PATCH] Added arrow keys & AZERTY support --- src/client/js/global.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/js/global.js b/src/client/js/global.js index da75d16..d1fd760 100644 --- a/src/client/js/global.js +++ b/src/client/js/global.js @@ -4,9 +4,15 @@ module.exports = { "clientCheckinInterval": 15, '32': 'KEY_SPACE', '65': 'KEY_LEFT', + '81': 'KEY_LEFT', + '90': 'KEY_UP', '87': 'KEY_UP', '68': 'KEY_RIGHT', '83': 'KEY_DOWN', + '37': 'KEY_LEFT', + '38': 'KEY_UP', + '39': 'KEY_RIGHT', + '40': 'KEY_DOWN', 'drawing':{ 'drawingOrder': ["perspective", "tracks", "tanks", "bullets", "walls", "ammo", "playerInfo", "scoreboard", "radar"], 'ammo':{