PennController for IBEX › Forums › Support › How do I log whether the person pressed the right key or not? › Reply To: How do I log whether the person pressed the right key or not?
Hi,
PennController adds one line to the results file per event that is logged. The start and end of a trial are logged by default, and you additionally log your Text, Key and Timer elements: you get one line for when the Text element was printed, one line for when a key was pressed, and two lines corresponding to the start and end of the Timer element. The third line is the one for the Key element, and you can see that the key that was pressed is R
, which matches the correct column, which reports r
(it’s not a perfect match because you added a space character before r
in your table, and you use lower-case when the pressed character is reported in upper case)
Jeremy