Searched refs:axes (Results 1 - 4 of 4) sorted by relevance
/haiku/headers/private/device/ |
H A D | joystick_driver.h | 23 /* maximum number of axes on one controller (pads count as 2 axes each) */ 35 int16 axes[MAX_AXES]; /* -32768 to 32767, X, Y, Z, U, V, W */ member in struct:_extended_joystick 64 axes = (int16 *)&buttons[button_blocks]; 65 hats = (uint8 *)&axes[axis_count]; 85 int16 * axes; member in struct:_variable_joystick 92 // int16 axes[axis_count]; 133 /** "force" tells the joystick to exert force on the same axes as input for the specified duration */
|
/haiku/src/tests/kits/device/stickit_BJoystick/ |
H A D | JoystickWindow.cpp | 87 int16 *axes = (int16 *) malloc(sizeof(int16) * numAxes); local 144 fStick->GetAxisValues(axes); 145 float x = axes[0]; 146 float y = axes[1]; 157 // Finally, other axes 161 x = axes[i]; 173 free(axes); 226 // We assume that the first two axes are the x and y axes. 235 // Now make labels for all the solitary axes [all...] |
/haiku/src/kits/device/ |
H A D | Joystick.cpp | 250 horizontal = values->axes[0]; 255 vertical = values->axes[1]; 387 memcpy(outValues, variableJoystick->axes,
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | JoystickProtocolHandler.cpp | 114 " axes and %" B_PRIu32 " hats\n", 385 fCurrentValues.axes[i] = (int16)fAxis[i]->ScaledData(16, true);
|
Completed in 110 milliseconds