Input::KeyTimePressedSyntaxtick_t Input::KeyTimePressed(KeyCode keyCode);Returns the wallclock tick time the given key code was pressed down. Don't call if the given key is not being held down! I.e. call [IsKeyDown()] to check first. If the given key is not currently held down, returns 0.
Leave a Comment |