I'd like to make a dynamic module where a user types in text and Mathematica records the typed text and time at which each key is pressed. The time could be relative to the start or relative to the time of the previous keypress.
For instance, typing "Hello" could lead to the output
{{"H",0},{"e",100},{"l",107},{"l",25},{"o",125}} where the times are relative to the previous keypress and measured in milliseconds.
I found this blog post that specifically measures the time spent typing "wolfram". That DynamicModule does way more than what I need, including having a very nice interface. I'm having a hard time figuring out what I can remove and how to extend the functionality beyond the letters of "wolfram" to arbitrary-length text.
Any help is appreciated.
