Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

XboxController

Jibran Syed edited this page Jun 27, 2017 · 2 revisions

<- Back to Coding References

Description

enum XboxController identifies the different players that are plugged into the computer.

  • XboxController.First corresponds to Player 1
  • XboxController.Second corresponds to player 2
  • XboxController.Third corresponds to player 3
  • XboxController.Fourth corresponds to player 4
  • XboxController.Any corresponds to any player. This is recommended for single player games.

DEPRECATED:

  • XboxController.All corresponds to any player. This is deprecated. Use XboxController.Any instead.

Contents

public enum XboxButton
{
    [System.Obsolete]
    All = 0,

    Any = 0,
    First = 1,
    Second = 2,
    Third = 3,
    Fourth = 4
}
Clone this wiki locally