push input handler, keypress checking in Lua still doesn't work