OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:webkit_pad
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/ppapi/shared_impl/
ppb_gamepad_shared.cc
16
const WebKitGamepad&
webkit_pad
= webkit_data.items[i];
local
17
output_pad.connected =
webkit_pad
.connected ? PP_TRUE : PP_FALSE;
18
if (
webkit_pad
.connected) {
19
COMPILE_ASSERT(sizeof(output_pad.id) == sizeof(
webkit_pad
.id),
21
COMPILE_ASSERT(sizeof(output_pad.axes) == sizeof(
webkit_pad
.axes),
23
COMPILE_ASSERT(sizeof(output_pad.buttons) == sizeof(
webkit_pad
.buttons),
25
memcpy(output_pad.id,
webkit_pad
.id, sizeof(output_pad.id));
26
output_pad.timestamp =
webkit_pad
.timestamp;
27
output_pad.axes_length =
webkit_pad
.axes_length;
28
memcpy(output_pad.axes,
webkit_pad
.axes, sizeof(output_pad.axes))
[
all
...]
Completed in 193 milliseconds