How do i make shift a button that can be pressed on the controller?

So for instance here if i were to do that how does the controller know what shift is Since it is a input on the keyboard?