/external/chromium_org/content/browser/gamepad/ |
D | gamepad_standard_mappings_linux.cc | 15 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]); in MapperXInputStyleGamepad() 16 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]); in MapperXInputStyleGamepad() 21 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[7]); in MapperXInputStyleGamepad() 22 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[7]); in MapperXInputStyleGamepad() 23 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[6]); in MapperXInputStyleGamepad() 24 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[6]); in MapperXInputStyleGamepad() 26 mapped->axes[kAxisRightStickX] = input.axes[3]; in MapperXInputStyleGamepad() 27 mapped->axes[kAxisRightStickY] = input.axes[4]; in MapperXInputStyleGamepad() 45 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[5]); in MapperLakeviewResearch() 46 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[5]); in MapperLakeviewResearch() [all …]
|
D | gamepad_standard_mappings_mac.mm | 15 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]); 16 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]); 26 mapped->axes[kAxisRightStickX] = input.axes[3]; 27 mapped->axes[kAxisRightStickY] = input.axes[4]; 44 input.buttons[8], input.axes[14]); 46 input.buttons[9], input.axes[15]); 55 input.buttons[4], input.axes[10]); 57 input.buttons[6], input.axes[12]); 59 input.buttons[7], input.axes[13]); 61 input.buttons[5], input.axes[11]); [all …]
|
D | gamepad_standard_mappings_win.cc | 18 mapped->axes[kAxisRightStickY] = input.axes[5]; in MapperLogitechDualAction() 19 DpadFromAxis(mapped, input.axes[9]); in MapperLogitechDualAction() 33 mapped->buttons[kButtonDpadUp] = AxisNegativeAsButton(input.axes[1]); in Mapper2Axes8Keys() 34 mapped->buttons[kButtonDpadDown] = AxisPositiveAsButton(input.axes[1]); in Mapper2Axes8Keys() 35 mapped->buttons[kButtonDpadLeft] = AxisNegativeAsButton(input.axes[0]); in Mapper2Axes8Keys() 36 mapped->buttons[kButtonDpadRight] = AxisPositiveAsButton(input.axes[0]); in Mapper2Axes8Keys() 64 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[3]); in MapperDualshock4() 65 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[4]); in MapperDualshock4() 72 mapped->axes[kAxisRightStickY] = input.axes[5]; in MapperDualshock4() 73 DpadFromAxis(mapped, input.axes[9]); in MapperDualshock4() [all …]
|
D | gamepad_provider_unittest.cc | 76 test_data.items[0].axes[0] = -1.f; in TEST_F() 77 test_data.items[0].axes[1] = .5f; in TEST_F() 109 EXPECT_EQ(-1.f, output.items[0].axes[0]); in TEST_F() 110 EXPECT_EQ(0.5f, output.items[0].axes[1]); in TEST_F() 123 no_button_data.items[0].axes[0] = -1.f; in TEST_F() 124 no_button_data.items[0].axes[1] = .5f; in TEST_F()
|
D | gamepad_platform_data_fetcher_android.cc | 119 std::vector<float> axes; in SetGamepadData() local 120 base::android::JavaFloatArrayToFloatVector(env, jaxes, &axes); in SetGamepadData() 125 pad.axesLength = std::min(static_cast<int>(axes.size()), in SetGamepadData() 130 pad.axes[i] = static_cast<double>(axes[i]); in SetGamepadData()
|
D | raw_input_data_fetcher_win.cc | 210 ZeroMemory(gamepad_info->axes, sizeof(gamepad_info->axes)); in ParseGamepadInfo() 303 gamepad_info->axes[axis_index].caps = axes_caps[i]; in ParseGamepadInfo() 304 gamepad_info->axes[axis_index].value = 0; in ParseGamepadInfo() 305 gamepad_info->axes[axis_index].active = true; in ParseGamepadInfo() 322 if (!gamepad_info->axes[next_index].active) in ParseGamepadInfo() 326 gamepad_info->axes[next_index].caps = axes_caps[i]; in ParseGamepadInfo() 327 gamepad_info->axes[next_index].value = 0; in ParseGamepadInfo() 328 gamepad_info->axes[next_index].active = true; in ParseGamepadInfo() 388 RawGamepadAxis* axis = &gamepad_info->axes[i]; in UpdateGamepad()
|
D | gamepad_platform_data_fetcher_win.cc | 260 pad->axes[pad->axesLength++] = NormalizeXInputAxis(state.Gamepad.sThumbLX); in GetXInputPadData() 261 pad->axes[pad->axesLength++] = -NormalizeXInputAxis(state.Gamepad.sThumbLY); in GetXInputPadData() 262 pad->axes[pad->axesLength++] = NormalizeXInputAxis(state.Gamepad.sThumbRX); in GetXInputPadData() 263 pad->axes[pad->axesLength++] = -NormalizeXInputAxis(state.Gamepad.sThumbRY); in GetXInputPadData() 291 raw_pad.axes[i] = gamepad->axes[i].value; in GetRawInputPadData()
|
D | xbox_data_fetcher_mac.cc | 194 &normalized_data->axes[0], in NormalizeXbox360ButtonData() 195 &normalized_data->axes[1]); in NormalizeXbox360ButtonData() 199 &normalized_data->axes[2], in NormalizeXbox360ButtonData() 200 &normalized_data->axes[3]); in NormalizeXbox360ButtonData() 225 &normalized_data->axes[0], in NormalizeXboxOneButtonData() 226 &normalized_data->axes[1]); in NormalizeXboxOneButtonData() 230 &normalized_data->axes[2], in NormalizeXboxOneButtonData() 231 &normalized_data->axes[3]); in NormalizeXboxOneButtonData()
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | MemoryView.py | 130 axes = [('direct', 'strided')] * n 131 axes.extend(memoryviewtype.axes) 132 return PyrexTypes.MemoryViewSliceType(memoryviewtype.dtype, axes) 163 for src_spec, dst_spec in zip(src.axes, dst.axes): 232 axes = [(dim, index_cnames[dim], access, packing) 233 for dim, (access, packing) in enumerate(self.type.axes)] 234 return self._generate_buffer_lookup_code(code, axes) 236 def _generate_buffer_lookup_code(self, code, axes, cast_result=True): argument 240 for dim, index, access, packing in axes: 298 for access, packing in self.type.axes: [all …]
|
/external/qemu/android/skin/ |
D | trackball.c | 165 VectorRec axes[3]; /* current ball axes */ member 233 ball->axes[0][0] = 1.; ball->axes[0][1] = 0.; ball->axes[0][2] = 0.; in trackball_init() 234 ball->axes[1][0] = 0.; ball->axes[1][1] = 1.; ball->axes[1][2] = 0.; in trackball_init() 235 ball->axes[2][0] = 0.; ball->axes[2][1] = 0.; ball->axes[2][2] = 1.; in trackball_init() 456 rotator_apply( rot, ball->axes[0] ); in trackball_move() 457 rotator_apply( rot, ball->axes[1] ); in trackball_move() 458 rotator_apply( rot, ball->axes[2] ); in trackball_move() 483 fixedvector_from_vector( (Fix16Vector)&faxes[0], (Vector)&ball->axes[0] ); in trackball_refresh() 484 fixedvector_from_vector( (Fix16Vector)&faxes[1], (Vector)&ball->axes[1] ); in trackball_refresh() 485 fixedvector_from_vector( (Fix16Vector)&faxes[2], (Vector)&ball->axes[2] ); in trackball_refresh()
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/ |
D | SDL_bejoystick.cc | 163 int16 *axes; in SDL_SYS_JoystickUpdate() local 169 axes = joystick->hwdata->new_axes; in SDL_SYS_JoystickUpdate() 174 stick->GetAxisValues(axes); in SDL_SYS_JoystickUpdate() 180 change = ((int32)axes[i] - joystick->axes[i]); in SDL_SYS_JoystickUpdate() 182 SDL_PrivateJoystickAxis(joystick, i, axes[i]); in SDL_SYS_JoystickUpdate()
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | gamepad_controller.cc | 46 void SetAxisCount(int index, int axes); 129 void GamepadControllerBindings::SetAxisCount(int index, int axes) { in SetAxisCount() argument 131 controller_->SetAxisCount(index, axes); in SetAxisCount() 239 void GamepadController::SetAxisCount(int index, int axes) { in SetAxisCount() argument 242 if (axes < 0 || axes >= static_cast<int>(WebGamepad::axesLengthCap)) in SetAxisCount() 244 gamepads_.items[index].axesLength = axes; in SetAxisCount() 252 gamepads_.items[index].axes[axis] = data; in SetAxisData()
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncCurrent.java | 26 import org.apache.xpath.axes.LocPathIterator; 27 import org.apache.xpath.axes.PredicatedNodeTest; 30 import org.apache.xpath.axes.SubContextList;
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/ |
D | SDL_joystick.c | 129 joystick->axes = (Sint16 *)SDL_malloc in SDL_JoystickOpen() 144 if ( ((joystick->naxes > 0) && !joystick->axes) in SDL_JoystickOpen() 153 if ( joystick->axes ) { in SDL_JoystickOpen() 154 SDL_memset(joystick->axes, 0, in SDL_JoystickOpen() 277 state = joystick->axes[axis]; in SDL_JoystickGetAxis() 385 if ( joystick->axes ) { in SDL_JoystickClose() 386 SDL_free(joystick->axes); in SDL_JoystickClose() 442 joystick->axes[axis] = value; in SDL_PrivateJoystickAxis()
|
/external/chromium_org/content/common/ |
D | gamepad_param_traits.cc | 65 for (size_t i = 0; i < arraysize(p.axes); ++i) { in Log() 66 l->append(base::StringPrintf("%f%s", p.axes[i], in Log() 67 i < (arraysize(p.axes) - 1) ? ", " : "], ")); in Log()
|
/external/chromium_org/ppapi/shared_impl/ |
D | ppb_gamepad_shared.cc | 25 output_pad.axes[j] = static_cast<float>(webkit_pad.axes[j]); in ConvertWebKitGamepadData()
|
/external/chromium_org/ppapi/api/ |
D | ppb_gamepad.idl | 23 * Number of valid elements in the |axes| array. 28 * Normalized values for the axes, indices valid up to |axes_length|-1. Axis 31 float_t[16] axes;
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | XPathVisitor.java | 23 import org.apache.xpath.axes.LocPathIterator; 24 import org.apache.xpath.axes.UnionPathIterator;
|
/external/guava/guava/src/com/google/common/collect/ |
D | Sets.java | 990 final ImmutableList<Axis> axes; 1005 this.axes = builder.build(); 1028 Object[] tuple = new Object[axes.size()]; 1030 tuple[i] = axes.get(i).getForIndex(index); 1046 int dimensions = axes.size(); 1051 if (!axes.get(i).contains(tuple.get(i))) { 1063 return this.axes.equals(that.axes); 1074 for (int i = 0; i < axes.size(); i++) { 1077 return axes.hashCode() + adjust;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Sets.java | 978 final ImmutableList<Axis> axes; 993 this.axes = builder.build(); 1016 Object[] tuple = new Object[axes.size()]; 1018 tuple[i] = axes.get(i).getForIndex(index); 1034 int dimensions = axes.size(); 1039 if (!axes.get(i).contains(tuple.get(i))) { 1051 return this.axes.equals(that.axes); 1062 for (int i = 0; i < axes.size(); i++) { 1065 return axes.hashCode() + adjust;
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | PathComponent.java | 21 package org.apache.xpath.axes;
|
D | SubContextList.java | 21 package org.apache.xpath.axes;
|
D | RTFIterator.java | 28 package org.apache.xpath.axes;
|
/external/chromium_org/third_party/cython/src/Cython/ |
D | Shadow.py | 22 axes = [":"] * self.ndim 24 axes[-1] = "::1" 26 axes[0] = "::1" 28 return "%s[%s]" % (self.dtype, ", ".join(axes))
|
/external/chromium_org/ppapi/examples/gamepad/ |
D | gamepad.cc | 101 gamepad_data.items[0].axes[i + 0] * width2 + width2); in PaintImage() 103 gamepad_data.items[0].axes[i + 1] * height2 + height2); in PaintImage()
|