keyboard stuff

Consolidate timer_elapsed implementations (#24830) master


+11 -44
7 changed files