Changing UI based on Controller input

I was looking around online on how to change the Ui images based on what controller you are using.

For example, if you’re using a keyboard, all the buttons tell you to use specific buttons on the keyboard(Press ‘Enter Key Image’ to start). If you’re using a controller, these keyboard buttons changes to the the buttons on the controller(Press ‘A button image’ to start).

Input.GetJoystickNames returns an array that contains all connected joysticks