More debug in input.c