How can I retrieve the Axis/Button list programmatically?

Is there a way to programmatically retrieve the list of axes and/or buttons, such as the ones whose names would be used in Input.GetAxis/Button/Up/Down?

The InputManager in the editor and docs make it looks like there is a public InputManager class, with an Axes field, but when digging through the Assembly Browser or searching online, I can’t seem to find anything like this.

It’s not possible, but they’re working on a new input system.

just use retreive class