I am trying to do latency tests for an electro-mechanical system. Basically, I want to touch a button and verify how much time it takes the system its connected to to register that touch. I've found ...