Searched refs:gamepads (Results 1 – 14 of 14) sorted by relevance
57 blink::WebGamepads gamepads; in sampleGamepads() local59 GamepadDispatcher::instance().sampleGamepads(gamepads); in sampleGamepads()62 blink::WebGamepad& webGamepad = gamepads.items[i]; in sampleGamepads()63 if (i < gamepads.length && webGamepad.connected) { in sampleGamepads()100 return NavigatorGamepad::from(navigator).gamepads(); in getGamepads()114 GamepadList* NavigatorGamepad::gamepads() in gamepads() function in WebCore::NavigatorGamepad
20 void GamepadDispatcher::sampleGamepads(blink::WebGamepads& gamepads) in sampleGamepads() argument22 blink::Platform::current()->sampleGamepads(gamepads); in sampleGamepads()
59 GamepadList* gamepads();
60 void GamepadSharedMemoryReader::SampleGamepads(blink::WebGamepads& gamepads) { in SampleGamepads() argument104 memcpy(&gamepads, &read_into, sizeof(gamepads)); in SampleGamepads()112 gamepads.items[i].connected = false; in SampleGamepads()
30 blink::WebGamepads& gamepads) OVERRIDE;
892 void RendererWebKitPlatformSupportImpl::sampleGamepads(WebGamepads& gamepads) { in sampleGamepads() argument894 gamepad_provider_->SampleGamepads(gamepads); in sampleGamepads()
13 bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads) { in GamepadsHaveUserGesture() argument15 const blink::WebGamepad& pad = gamepads.items[i]; in GamepadsHaveUserGesture()
16 bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads);
67 jlong gamepads, in SetGamepadData() argument75 DCHECK(gamepads); in SetGamepadData()76 blink::WebGamepads* pads = reinterpret_cast<WebGamepads*>(gamepads); in SetGamepadData()
132 blink::WebGamepads gamepads; in OnUserGesture() local133 provider_->GetCurrentGamepadData(&gamepads); in OnUserGesture()135 const blink::WebGamepad& pad = gamepads.items[i]; in OnUserGesture()
66 * The data for all gamepads connected to the system.91 * Samples the current state of the available gamepads.
19 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0;
36 blink::WebGamepads& gamepads) OVERRIDE;
160 void GamepadController::SampleGamepads(blink::WebGamepads& gamepads) { in SampleGamepads() argument161 memcpy(&gamepads, &gamepads_, sizeof(blink::WebGamepads)); in SampleGamepads()