index 8842b6794b7362b7cf4860c09abacbbaa0ca91f4..40e0dff752b0b90b3ac59a9ebf9246cb96314896 100644 (file)
uses
SysUtils, SDL2, Math, ctypes,
- e_log, e_graphics, e_input, e_sound,
+ e_log, r_graphics, e_input, e_sound,
{$INCLUDE ../nogl/noGLuses.inc}
{$IFDEF ENABLE_HOLMES}
g_holmes, sdlcarcass, fui_ctls,
e_KeyUpDown(key, down);
g_Console_ProcessBind(key, down);
end
- else if gConsoleShow or gChatShow or (g_ActiveWindow <> nil) then
+ else
begin
- KeyPress(key) // key repeat in menus and shit
+ if g_dbg_input then
+ e_LogWritefln('Input Debug: keyrep, scancode=%s', [key]);
+ g_Console_ProcessBindRepeat(key);
end
end;