If I have an enum with Up, Down, Left, Right and I need to insert a ButtonGroup with four buttons, each button to map with each value, I think should be possible map the enum to the buttongroup and automatically each button takes the different value of the enum.