mirror of
https://github.com/ConjureETS/PillowFight.git
synced 2026-03-24 17:10:59 +00:00
44 lines
975 B
C#
44 lines
975 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
namespace InputHandler
|
|
{
|
|
//TODO: When we will be ready to read raw inputs from a file, we need this to simply be generic "BUTTON_ONE, BUTTON_TWO, etc."
|
|
|
|
public class XboxInputConstants
|
|
{
|
|
// These buttons will eventually map to controls saved in a file
|
|
public enum Buttons
|
|
{
|
|
A,
|
|
B,
|
|
X,
|
|
Y,
|
|
LeftShoulder,
|
|
RightShoulder,
|
|
Back,
|
|
Start,
|
|
LeftStick,
|
|
RightStick,
|
|
DPadLeft,
|
|
DPadRight,
|
|
DPadUp,
|
|
DPadDown,
|
|
}
|
|
|
|
public enum Axis
|
|
{
|
|
LeftStickLeft,
|
|
LeftStickRight,
|
|
LeftStickUp,
|
|
LeftStickDown,
|
|
RightStickLeft,
|
|
RightStickRight,
|
|
RightStickUp,
|
|
RightStickDown,
|
|
TriggerLeft,
|
|
TriggerRight
|
|
}
|
|
}
|
|
}
|