For example. Suppose I press "a" for 150 ms, then wait for 1500 ms and press "b" for 200 ms and wait 5000 ms, etc... I want to record any key that is being pressed and save the information to a file in the desktop with path: "C:\Users\user\Desktop\eso_path.txt" The format of the file should be: "key, time press, elapsed time between key presses" or like this
Code: Select all
a, 150, 1500
b, 200, 5000
c, 163, 3452
etc...
I am asking these questions to an AI called Chatgpt, but it is unable to understand my question. Basically, I want to record my hand pressing the keys with exact press time, and elapsed time between key presses. The AI was unable to help, maybe a human can understand me. Thank you!