Accessing Rewired in Scripts
To access Rewired classes from a script, add the following line to the top of the script so you don't have to type the Rewired namespace each time:
The Most Important Classes
Rewired.ReInput - The primary static input class. Access Players, Controllers, and much more.
Rewired.Player - Access input through Player.
See the API Reference for a complete list of classes.