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

XboxController

Jibran Syed edited this page Jan 30, 2016 · 2 revisions

<- Back to Coding References

Description

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

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

Contents

public enum XboxButton
{
    All = 0,
    First = 1,
    Second = 2,
    Third = 3,
    Fourth = 4
}

Clone this wiki locally