RatingScale with letter (as opposed to number) keys

I have a script with lots of RatingScale components, used to record 1-through-5 ratings (subjects pressed keys 1 through 5 on the keyboard).

I now need to change the script to accept five letter inputs instead of the first five numbers (i.e., the keys, Q,W,E,R,T). I would like to keep the rating-scale components in the script and just change their expected input type (letters as opposed to digits), but I did not find any options for this among RatingScale’s parameters (the ‘low’ and ‘high’ parameters just accept numerical values).

Any thoughts how I can achieve this? Many thanks.

Figured it out on my own :slight_smile: there is a respKeys parameter that can be set, within the customised code tab of the rating scale component!