Microphone, recording of response time and accuracy of answers?

Hello everyone,
I’m coming to you because I have a builder problem with the microphone. On previous experiments, I asked subjects to use their hands to respond on 1 of the two available keys as quickly and accurately as possible according to an image that appeared.

Since the experiment concerns the upper limbs, there will be a conflict between my experiment and the response modalities. So I’d like to use the microphone to do the same thing and analyze:

  1. response time,
  2. the accuracy of the response.

So I need to builder in such a way as to obtain the response time and check whether the response is correct or not. Is this feasible?
Does anyone have any advice?

thank you ++ for your reading and advice!