Home
last modified time | relevance | path

Searched refs:gamepad (Results 1 – 25 of 151) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
DNavigatorGamepad.cpp43 static void sampleGamepad(unsigned index, T& gamepad, const WebGamepad& webGamepad) in sampleGamepad() argument
45 gamepad.setId(webGamepad.id); in sampleGamepad()
46 gamepad.setIndex(index); in sampleGamepad()
47 gamepad.setConnected(webGamepad.connected); in sampleGamepad()
48 gamepad.setTimestamp(webGamepad.timestamp); in sampleGamepad()
49 gamepad.setMapping(webGamepad.mapping); in sampleGamepad()
50 gamepad.setAxes(webGamepad.axesLength, webGamepad.axes); in sampleGamepad()
51 gamepad.setButtons(webGamepad.buttonsLength, webGamepad.buttons); in sampleGamepad()
64 GamepadType* gamepad = into->item(i); in sampleGamepads() local
65 if (!gamepad) in sampleGamepads()
[all …]
DGamepadDispatcher.cpp33 void GamepadDispatcher::didConnectGamepad(unsigned index, const WebGamepad& gamepad) in didConnectGamepad() argument
35 dispatchDidConnectOrDisconnectGamepad(index, gamepad, true); in didConnectGamepad()
38 void GamepadDispatcher::didDisconnectGamepad(unsigned index, const WebGamepad& gamepad) in didDisconnectGamepad() argument
40 dispatchDidConnectOrDisconnectGamepad(index, gamepad, false); in didDisconnectGamepad()
43 …r::dispatchDidConnectOrDisconnectGamepad(unsigned index, const WebGamepad& gamepad, bool connected) in dispatchDidConnectOrDisconnectGamepad() argument
46 ASSERT(connected == gamepad.connected); in dispatchDidConnectOrDisconnectGamepad()
48 m_latestChange.pad = gamepad; in dispatchDidConnectOrDisconnectGamepad()
DGamepadEvent.h16 Member<Gamepad> gamepad; member
26 …r<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad) in create() argument
28 return adoptRefWillBeNoop(new GamepadEvent(type, canBubble, cancelable, gamepad)); in create()
36 Gamepad* gamepad() const { return m_gamepad.get(); } in gamepad() function
DGamepadEvent.cpp18 …padEvent::GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad) in GamepadEvent() argument
20 , m_gamepad(gamepad) in GamepadEvent()
26 , m_gamepad(initializer.gamepad) in GamepadEvent()
DGamepadList.cpp35 void GamepadList::set(unsigned index, Gamepad* gamepad) in set() argument
39 m_items[index] = gamepad; in set()
DWebKitGamepadList.cpp14 void WebKitGamepadList::set(unsigned index, WebKitGamepad* gamepad) in set() argument
18 m_items[index] = gamepad; in set()
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_win.cc125 RawGamepadInfo* gamepad = raw_inputs[i]; in EnumerateDevices() local
126 if (HasRawInputGamepad(gamepad->handle)) in EnumerateDevices()
135 state.raw_input_handle = gamepad->handle; in EnumerateDevices()
137 std::string vendor = base::StringPrintf("%04x", gamepad->vendor_id); in EnumerateDevices()
138 std::string product = base::StringPrintf("%04x", gamepad->product_id); in EnumerateDevices()
143 gamepad->id, state.mapper ? L"STANDARD GAMEPAD " : L"", in EnumerateDevices()
144 gamepad->vendor_id, gamepad->product_id); in EnumerateDevices()
272 RawGamepadInfo* gamepad = raw_input_fetcher_->GetGamepadInfo( in GetRawInputPadData() local
274 if (!gamepad) { in GetRawInputPadData()
281 raw_pad.timestamp = gamepad->report_id; in GetRawInputPadData()
[all …]
Dgamepad_consumer.h18 const blink::WebGamepad& gamepad) = 0;
21 const blink::WebGamepad& gamepad) = 0;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DGamepadList.java165 GamepadDevice gamepad = mGamepadDevices[i]; in getDeviceById() local
166 if (gamepad != null && gamepad.getId() == deviceId) { in getDeviceById()
167 return gamepad; in getDeviceById()
192 GamepadDevice gamepad = getGamepadForEvent(event);
193 if (gamepad == null) return false;
194 return gamepad.handleKeyEvent(event);
211 GamepadDevice gamepad = getGamepadForEvent(event);
212 if (gamepad == null) return false;
213 return gamepad.handleMotionEvent(event);
237 GamepadDevice gamepad = new GamepadDevice(index, inputDevice);
[all …]
/external/chromium_org/content/browser/renderer_host/
Dgamepad_browser_message_filter.cc36 const blink::WebGamepad& gamepad) { in OnGamepadConnected() argument
37 Send(new GamepadMsg_GamepadConnected(index, gamepad)); in OnGamepadConnected()
42 const blink::WebGamepad& gamepad) { in OnGamepadDisconnected() argument
43 Send(new GamepadMsg_GamepadDisconnected(index, gamepad)); in OnGamepadDisconnected()
Dgamepad_browser_message_filter.h30 const blink::WebGamepad& gamepad) OVERRIDE;
33 const blink::WebGamepad& gamepad) OVERRIDE;
/external/chromium_org/native_client_sdk/src/examples/api/gamepad/
Dexample.dsc5 'NAME' : 'gamepad',
7 'SOURCES' : ['gamepad.cc'],
12 'NAME': 'gamepad',
/external/chromium_org/content/renderer/
Dgamepad_shared_memory_reader.cc123 const blink::WebGamepad& gamepad) { in OnGamepadConnected() argument
128 listener()->didConnectGamepad(index, gamepad); in OnGamepadConnected()
133 const blink::WebGamepad& gamepad) { in OnGamepadDisconnected() argument
135 listener()->didDisconnectGamepad(index, gamepad); in OnGamepadDisconnected()
Dgamepad_shared_memory_reader.h35 void OnGamepadConnected(int index, const blink::WebGamepad& gamepad);
36 void OnGamepadDisconnected(int index, const blink::WebGamepad& gamepad);
/external/chromium_org/ppapi/api/
Dppb_gamepad.idl8 * provides access to gamepad devices.
18 * The data for one gamepad device.
56 * Is there a gamepad connected at this index? If this is false, no other
79 * Data for an individual gamepad device connected to the system.
86 * gamepad/joystick devices that are connected to the system.
/external/chromium_org/third_party/WebKit/Source/modules/
Dmodules.gypi56 'gamepad/Gamepad.idl',
57 'gamepad/GamepadButton.idl',
58 'gamepad/GamepadEvent.idl',
59 'gamepad/GamepadList.idl',
60 'gamepad/WebKitGamepad.idl',
61 'gamepad/WebKitGamepadList.idl',
222 'gamepad/NavigatorGamepad.idl',
260 'gamepad/GamepadEvent.idl',
473 'gamepad/Gamepad.cpp',
474 'gamepad/Gamepad.h',
[all …]
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_gamepad_host.h49 const blink::WebGamepad& gamepad) OVERRIDE {} in OnGamepadConnected() argument
52 const blink::WebGamepad& gamepad) OVERRIDE {} in OnGamepadDisconnected() argument
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
Dmodules_idl_files_list.tmp48 ../../../modules/gamepad/Gamepad.idl
49 ../../../modules/gamepad/GamepadButton.idl
50 ../../../modules/gamepad/GamepadEvent.idl
51 ../../../modules/gamepad/GamepadList.idl
52 ../../../modules/gamepad/WebKitGamepad.idl
53 ../../../modules/gamepad/WebKitGamepadList.idl
Dmodules_static_idl_files_list.tmp48 ../../../modules/gamepad/Gamepad.idl
49 ../../../modules/gamepad/GamepadButton.idl
50 ../../../modules/gamepad/GamepadEvent.idl
51 ../../../modules/gamepad/GamepadList.idl
52 ../../../modules/gamepad/WebKitGamepad.idl
53 ../../../modules/gamepad/WebKitGamepadList.idl
211 ../../../modules/gamepad/NavigatorGamepad.idl
/external/chromium_org/third_party/WebKit/Source/bindings/modules/
Dmodules_global_objects_idl_files_list.tmp40 ../../modules/gamepad/Gamepad.idl
41 ../../modules/gamepad/GamepadButton.idl
42 ../../modules/gamepad/GamepadEvent.idl
43 ../../modules/gamepad/GamepadList.idl
44 ../../modules/gamepad/WebKitGamepad.idl
45 ../../modules/gamepad/WebKitGamepadList.idl
Dmodules_global_constructors_idls_idl_files_list.tmp40 ../../modules/gamepad/Gamepad.idl
41 ../../modules/gamepad/GamepadButton.idl
42 ../../modules/gamepad/GamepadEvent.idl
43 ../../modules/gamepad/GamepadList.idl
44 ../../modules/gamepad/WebKitGamepad.idl
45 ../../modules/gamepad/WebKitGamepadList.idl
Dmodules_idl_files_list.tmp48 ../../modules/gamepad/Gamepad.idl
49 ../../modules/gamepad/GamepadButton.idl
50 ../../modules/gamepad/GamepadEvent.idl
51 ../../modules/gamepad/GamepadList.idl
52 ../../modules/gamepad/WebKitGamepad.idl
53 ../../modules/gamepad/WebKitGamepadList.idl
Dmodules_static_idl_files_list.tmp48 ../../modules/gamepad/Gamepad.idl
49 ../../modules/gamepad/GamepadButton.idl
50 ../../modules/gamepad/GamepadEvent.idl
51 ../../modules/gamepad/GamepadList.idl
52 ../../modules/gamepad/WebKitGamepad.idl
53 ../../modules/gamepad/WebKitGamepadList.idl
211 ../../modules/gamepad/NavigatorGamepad.idl
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
Dmodules_idl_files_list.tmp48 ../../../modules/gamepad/Gamepad.idl
49 ../../../modules/gamepad/GamepadButton.idl
50 ../../../modules/gamepad/GamepadEvent.idl
51 ../../../modules/gamepad/GamepadList.idl
52 ../../../modules/gamepad/WebKitGamepad.idl
53 ../../../modules/gamepad/WebKitGamepadList.idl
Dmodules_static_idl_files_list.tmp48 ../../../modules/gamepad/Gamepad.idl
49 ../../../modules/gamepad/GamepadButton.idl
50 ../../../modules/gamepad/GamepadEvent.idl
51 ../../../modules/gamepad/GamepadList.idl
52 ../../../modules/gamepad/WebKitGamepad.idl
53 ../../../modules/gamepad/WebKitGamepadList.idl
211 ../../../modules/gamepad/NavigatorGamepad.idl

1234567