Script I made for myself wanted to share.
Works with PS4 / XB1 also supports PS4 console with XB1 controller.
Detects if controller gets disconnected and will attempt to pause game.
All options have rumble On/Off feedback as well as lights.
Trigger flipped support AKA Bumpers.
Default Off if you use flipped triggers set "FLIPPED = 0;" to "1" in the int section.
Primary Secondary Weapons