From: Rudolf Polzer Date: Thu, 2 Nov 2017 16:04:23 +0000 (+0100) Subject: Add an in_releaseall command for debugging/working around stuck keys. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=532169a89fb8cf840144a82fc5a0e3722c9a4814;p=xonotic%2Fdarkplaces.git Add an in_releaseall command for debugging/working around stuck keys. --- diff --git a/keys.c b/keys.c index 2f91c06c..e93f83ac 100644 --- a/keys.c +++ b/keys.c @@ -1626,6 +1626,7 @@ Key_Init (void) Cmd_AddCommand ("in_unbind", Key_In_Unbind_f, "removes command on the specified key in the selected bindmap"); Cmd_AddCommand ("in_bindlist", Key_In_BindList_f, "bindlist: displays bound keys for all bindmaps, or the given bindmap"); Cmd_AddCommand ("in_bindmap", Key_In_Bindmap_f, "selects active foreground and background (used only if a key is not bound in the foreground) bindmaps for typing"); + Cmd_AddCommand ("in_releaseall", Key_ReleaseAll, "releases all currently pressed keys (debug command)"); Cmd_AddCommand ("bind", Key_Bind_f, "binds a command to the specified key in bindmap 0"); Cmd_AddCommand ("unbind", Key_Unbind_f, "removes a command on the specified key in bindmap 0");