Black Ops III

GetControllerType

returns the controller type of the player

Example:

player GetControllerType()