runloop.c - optimization - Combine check_turbo and input_keys_pressed functions