From 27c0c9c3421add472b4ad7dbb67ae6fefa3a0c4a Mon Sep 17 00:00:00 2001 From: helixhorned Date: Tue, 6 Nov 2012 23:06:38 +0000 Subject: [PATCH] Get rid of the code reading in [KeyDefinitions] section of eduke32.cfg. That section was only ever read in for little profit and never written out! Keyboard input is actually dispatched as OSD commands for a good while, so that old cruft has to go! git-svn-id: https://svn.eduke32.com/eduke32@3125 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/config.c | 62 --------------------------------- polymer/eduke32/source/config.h | 1 - polymer/eduke32/source/game.c | 2 -- 3 files changed, 65 deletions(-) diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index 8509d0591..436f5affe 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -338,67 +338,7 @@ void CONFIG_SetDefaults(void) CONTROL_MapAnalogAxis(i, ud.config.JoystickAnalogueAxes[i], controldevice_joystick); } } -/* -=================== -= -= CONFIG_ReadKeys -= -=================== -*/ -void CONFIG_ReadKeys(void) -{ - int32_t i; - int32_t numkeyentries; - int32_t function; - char keyname1[80]; - char keyname2[80]; - kb_scancode key1,key2; - - if (ud.config.scripthandle < 0) return; - - numkeyentries = SCRIPT_NumberEntries(ud.config.scripthandle,"KeyDefinitions"); - - Bmemset(&KeyBindings,0,sizeof(KeyBindings)); - - for (i=0; i