Home | History | Annotate | Download | only in gamepad

Lines Matching refs:buttons

30   mapped->buttons[0] = input.buttons[1];
31 mapped->buttons[1] = input.buttons[2];
32 mapped->buttons[2] = input.buttons[0];
33 mapped->buttons[12] = input.buttons[16];
34 mapped->buttons[13] = input.buttons[17];
35 mapped->buttons[14] = input.buttons[18];
36 mapped->buttons[15] = input.buttons[19];
49 mapped->buttons[0] = input.buttons[1];
50 mapped->buttons[1] = input.buttons[2];
51 mapped->buttons[2] = input.buttons[0];
52 mapped->buttons[12] = input.buttons[16];
53 mapped->buttons[13] = input.buttons[17];
54 mapped->buttons[14] = input.buttons[18];
55 mapped->buttons[15] = input.buttons[19];
68 mapped->buttons[0] = input.buttons[1];
69 mapped->buttons[1] = input.buttons[2];
70 mapped->buttons[2] = input.buttons[0];
71 mapped->buttons[kButtonLeftThumbstick] = 0; // Not present
72 mapped->buttons[kButtonRightThumbstick] = 0; // Not present
73 mapped->buttons[12] = AxisNegativeAsButton(input.axes[1]);
74 mapped->buttons[13] = AxisPositiveAsButton(input.axes[1]);
75 mapped->buttons[14] = AxisNegativeAsButton(input.axes[0]);
76 mapped->buttons[15] = AxisPositiveAsButton(input.axes[0]);
85 mapped->buttons[kButtonLeftTrigger] = 0; // Not present
86 mapped->buttons[kButtonRightTrigger] = 0; // Not present
87 mapped->buttons[8] = input.buttons[6];
88 mapped->buttons[9] = input.buttons[7];
89 mapped->buttons[kButtonLeftThumbstick] = 0; // Not present
90 mapped->buttons[kButtonRightThumbstick] = 0; // Not present
91 mapped->buttons[12] = AxisNegativeAsButton(input.axes[1]);
92 mapped->buttons[13] = AxisPositiveAsButton(input.axes[1]);
93 mapped->buttons[14] = AxisNegativeAsButton(input.axes[0]);
94 mapped->buttons[15] = AxisPositiveAsButton(input.axes[0]);