OVRGamepadController.cs issue
Hello, I'm not quite sure if this is a bug or I'm missing something, but I use the left and right buttons for certain functions in my program and it seems that they've been ommitted from the OVRGamepadController.cs script, it goes from up and down to left and right shoulder buttons, I need the left and right directional pad input.
public enum Axis
{
None = -1,
LeftXAxis = 0,
LeftYAxis,
RightXAxis,
RightYAxis,
LeftTrigger,
RightTrigger,
Max,
};
public enum Button
{
None = -1,
A = 0,
B,
X,
Y,
Up,
Down,
LeftShoulder,
RightShoulder,
Start,
Back,
LStick,
RStick,
L1,
R1,
Max
};
public static string[] DefaultAxisNames = new string[(int)Axis.Max]
{
"Left_X_Axis",
"Left_Y_Axis",
"Right_X_Axis",
"Right_Y_Axis",
"LeftTrigger",
"RightTrigger",
};
public static string[] DefaultButtonNames = new string[(int)Button.Max]
{
"Button A",
"Button B",
"Button X",
"Button Y",
"Up",
"Down",
"Left Shoulder",
"Right Shoulder",
"Start",
"Back",
"LStick",
"RStick",
"LeftShoulder",
"RightShoulder",
