Searched refs:output_pad (Results 1 – 1 of 1) sorted by relevance
15 PP_GamepadSampleData& output_pad = output_data->items[i]; in ConvertWebKitGamepadData() local17 output_pad.connected = webkit_pad.connected ? PP_TRUE : PP_FALSE; in ConvertWebKitGamepadData()19 COMPILE_ASSERT(sizeof(output_pad.id) == sizeof(webkit_pad.id), in ConvertWebKitGamepadData()21 memcpy(output_pad.id, webkit_pad.id, sizeof(output_pad.id)); in ConvertWebKitGamepadData()22 output_pad.timestamp = webkit_pad.timestamp; in ConvertWebKitGamepadData()23 output_pad.axes_length = webkit_pad.axes_length; in ConvertWebKitGamepadData()25 output_pad.axes[j] = static_cast<float>(webkit_pad.axes[j]); in ConvertWebKitGamepadData()26 output_pad.buttons_length = webkit_pad.buttons_length; in ConvertWebKitGamepadData()28 output_pad.buttons[j] = static_cast<float>(webkit_pad.buttons[j].value); in ConvertWebKitGamepadData()