Code > Kit > Make Controls Screen (⌃⌥⌘J, also on the Input Map page) writes the room rm_controls: a row per action with its keyboard and controller bindings, a status line, Reset to defaults and Back. It is made of placed UI controls, so it is edited like any room. In the game, choosing a binding waits for the next key or button (Esc cancels), warns when that input is already used by another action, and saves the player's bindings (input_save(), loaded at start).
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.