How to create new buttons on Train Hand Tracking sample quest project?

Are the actions for each button hardcoded as C++? It seems impossible to create a button for a simple interaction. Thank you!