Read key bindings from the ini file and display them in my menu.

Hello. I’m not sure if this was asked before , I did not see anything when I googled. I would like to be able to read the binds that are in the ini file and display them. Is there a function that parses this already or do I have to make my own? I could use some tips on automating the menu UI as well since I’m pretty new with this stuff.