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

So there isnt a way to make a function out of a input?