Home | History | Annotate | Download | only in gamepad

Lines Matching refs:buttons

15   mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]);
16 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]);
17 mapped->buttons[kButtonBackSelect] = input.buttons[6];
18 mapped->buttons[kButtonStart] = input.buttons[7];
19 mapped->buttons[kButtonLeftThumbstick] = input.buttons[9];
20 mapped->buttons[kButtonRightThumbstick] = input.buttons[10];
21 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[7]);
22 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[7]);
23 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[6]);
24 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[6]);
25 mapped->buttons[kButtonMeta] = input.buttons[8];
36 mapped->buttons[kButtonPrimary] = input.buttons[2];
37 mapped->buttons[kButtonTertiary] = input.buttons[3];
38 mapped->buttons[kButtonQuaternary] = input.buttons[0];
39 mapped->buttons[kButtonLeftShoulder] = input.buttons[6];
40 mapped->buttons[kButtonRightShoulder] = input.buttons[7];
41 mapped->buttons[kButtonLeftTrigger] = input.buttons[4];
42 mapped->buttons[kButtonRightTrigger] = input.buttons[5];
43 mapped->buttons[kButtonBackSelect] = input.buttons[9];
44 mapped->buttons[kButtonStart] = input.buttons[8];
45 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[5]);
46 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[5]);
47 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[4]);
48 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[4]);
57 mapped->buttons[kButtonPrimary] = input.buttons[14];
58 mapped->buttons[kButtonSecondary] = input.buttons[13];
59 mapped->buttons[kButtonTertiary] = input.buttons[15];
60 mapped->buttons[kButtonQuaternary] = input.buttons[12];
61 mapped->buttons[kButtonLeftShoulder] = input.buttons[10];
62 mapped->buttons[kButtonRightShoulder] = input.buttons[11];
63 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[12]);
64 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[13]);
65 mapped->buttons[kButtonBackSelect] = input.buttons[0];
66 mapped->buttons[kButtonStart] = input.buttons[3];
67 mapped->buttons[kButtonLeftThumbstick] = input.buttons[1];
68 mapped->buttons[kButtonRightThumbstick] = input.buttons[2];
69 mapped->buttons[kButtonDpadUp] = AxisToButton(input.axes[8]);
70 mapped->buttons[kButtonDpadDown] = AxisToButton(input.axes[10]);
71 mapped->buttons[kButtonDpadLeft] = input.buttons[7];
72 mapped->buttons[kButtonDpadRight] = AxisToButton(input.axes[9]);
73 mapped->buttons[kButtonMeta] = input.buttons[16];
88 mapped->buttons[kButtonPrimary] = input.buttons[1];
89 mapped->buttons[kButtonSecondary] = input.buttons[2];
90 mapped->buttons[kButtonTertiary] = input.buttons[0];
91 mapped->buttons[kButtonQuaternary] = input.buttons[3];
92 mapped->buttons[kButtonLeftShoulder] = input.buttons[4];
93 mapped->buttons[kButtonRightShoulder] = input.buttons[5];
94 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[3]);
95 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[4]);
96 mapped->buttons[kButtonBackSelect] = input.buttons[8];
97 mapped->buttons[kButtonStart] = input.buttons[9];
98 mapped->buttons[kButtonLeftThumbstick] = input.buttons[10];
99 mapped->buttons[kButtonRightThumbstick] = input.buttons[11];
100 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[7]);
101 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[7]);
102 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[6]);
103 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[6]);
104 mapped->buttons[kButtonMeta] = input.buttons[12];
105 mapped->buttons[kTouchpadButton] = input.buttons[13];
116 mapped->buttons[kButtonPrimary] = input.buttons[2];
117 mapped->buttons[kButtonSecondary] = input.buttons[1];
118 mapped->buttons[kButtonTertiary] = input.buttons[3];
119 mapped->buttons[kButtonQuaternary] = input.buttons[0];
120 mapped->buttons[kButtonLeftShoulder] = input.buttons[6];
121 mapped->buttons[kButtonRightShoulder] = input.buttons[7];
122 mapped->buttons[kButtonLeftTrigger] = input.buttons[4];
123 mapped->buttons[kButtonRightTrigger] = input.buttons[5];
124 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[5]);
125 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[5]);
126 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[4]);
127 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[4]);
139 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[6]);
140 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[6]);
141 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[5]);
142 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[5]);
155 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]);
156 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]);
157 mapped->buttons[kButtonBackSelect] = input.buttons[6];
158 mapped->buttons[kButtonStart] = input.buttons[7];
159 mapped->buttons[kButtonLeftThumbstick] = input.buttons[9];
160 mapped->buttons[kButtonRightThumbstick] = input.buttons[10];
161 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[7]);
162 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[7]);
163 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[6]);
164 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[6]);
165 mapped->buttons[kButtonMeta] = input.buttons[8];