Making clickable button correspond to keyboard keys

I have a working experiment that uses keyboard inputs for responses. I had the idea to make a version of the experiment using clickable buttons instead that would make the experiment useable with tablet devices.
Is there any way to make the “button” response correspond to a specific keyboard input?

Hello Apel,

I was testing the keyboard-component on a iPad. It worked right out of the box.

Best wishes Jens