input manager and timing.h