Grouping interactions in prototypes

I’m working in games and when I do prototypes there’s usually many ways to navigate in the layout, using gamepad, keyboard and mouse or only keyboard for example. And in some scenarios it might be possible to use both the D-Pad, Left & Right stick and keyboard for example, and for each control type there might be two directions, left and right or up and down.

This makes the interaction list really cluttered and difficult to overview. It would be really nice to be able to group the interactions based on the logic they do. So basically one group could be labeled Back and contain ESC to go back on keyboard and X to go back on gamepad. Or another label could be browse left and contain E (Keyboard), D-Pad Right and Left Stick Right for example.