From e93385631fb31028b8879b4e77b21d5ad95969c8 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 27 Aug 2007 11:10:41 +0000 Subject: [PATCH] added a developer 1000 print for every key event received, attempting to figure out why while watching the demo loop you can press the 1 key and then escape and escape does nothing, pressing other keys reenables escape again git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7541 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keys.c b/keys.c index 6e61c438..02a1a0d9 100644 --- a/keys.c +++ b/keys.c @@ -880,6 +880,9 @@ Key_Event (int key, char ascii, qboolean down) if (!bind) bind = keybindings[key_bmap2][key]; + if (developer.integer >= 1000) + Con_Printf("Key_Event(%i, '%c', %s) keydown %i bind \"%s\"\n", key, ascii, down ? "down" : "up", keydown[key], bind ? bind : ""); + if(key_dest == key_game) { q = CL_VM_InputEvent(!down, key); -- 2.39.2