How do I get the Keyboard key linked to an action mapping?

yeah I just made a function that converts long display names
I only call it once so I dont expect any performances issues

thanks mate, good to know