HomeSort by relevance Sort by last modified time
    Searched defs:gamepad (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/modules/gamepad/
GamepadEvent.h 9 #include "modules/gamepad/Gamepad.h"
16 Member<Gamepad> gamepad; member in struct:blink::GamepadEventInit
26 static PassRefPtrWillBeRawPtr<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
28 return adoptRefWillBeNoop(new GamepadEvent(type, canBubble, cancelable, gamepad));
36 Gamepad* gamepad() const { return m_gamepad.get(); } function in class:blink::FINAL
44 GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad*);
    [all...]
NavigatorGamepad.cpp 27 #include "modules/gamepad/NavigatorGamepad.h"
34 #include "modules/gamepad/GamepadDispatcher.h"
35 #include "modules/gamepad/GamepadEvent.h"
36 #include "modules/gamepad/GamepadList.h"
37 #include "modules/gamepad/WebKitGamepadList.h"
43 static void sampleGamepad(unsigned index, T& gamepad, const WebGamepad& webGamepad)
45 gamepad.setId(webGamepad.id);
46 gamepad.setIndex(index);
47 gamepad.setConnected(webGamepad.connected);
48 gamepad.setTimestamp(webGamepad.timestamp)
64 GamepadType* gamepad = into->item(i); local
151 Gamepad* gamepad = m_gamepads->item(change.index); local
166 Gamepad* gamepad = m_pendingEvents.takeFirst(); local
    [all...]
  /external/chromium_org/content/browser/gamepad/
gamepad_platform_data_fetcher_win.cc 5 #include "content/browser/gamepad/gamepad_platform_data_fetcher_win.h"
39 case kDeviceSubTypeGamepad: return L"GAMEPAD";
98 TRACE_EVENT0("GAMEPAD", "EnumerateDevices");
125 RawGamepadInfo* gamepad = raw_inputs[i]; local
126 if (HasRawInputGamepad(gamepad->handle))
135 state.raw_input_handle = gamepad->handle;
137 std::string vendor = base::StringPrintf("%04x", gamepad->vendor_id);
138 std::string product = base::StringPrintf("%04x", gamepad->product_id);
143 gamepad->id, state.mapper ? L"STANDARD GAMEPAD " : L""
272 RawGamepadInfo* gamepad = raw_input_fetcher_->GetGamepadInfo( local
    [all...]
raw_input_data_fetcher_win.cc 5 #include "content/browser/gamepad/raw_input_data_fetcher_win.h"
231 // Gamepad. Skip enumerating these devices and let the XInput path handle it.
247 swprintf(gamepad_info->id, WebGamepad::idLengthCap, L"Unknown Gamepad");
440 RawGamepadInfo* gamepad = GetGamepadInfo(input->header.hDevice); local
441 if (gamepad)
442 UpdateGamepad(input, gamepad);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
GamepadList.java 23 * Class to manage connected gamepad devices list.
25 * It is a Java counterpart of GamepadPlatformDataFetcherAndroid and feeds Gamepad API with input
67 // Check for gamepad device
69 // Register a new gamepad device.
77 * prepare itself for gamepad input. It must be called before {@link onGenericMotionEvent} and
165 GamepadDevice gamepad = mGamepadDevices[i]; local
166 if (gamepad != null && gamepad.getId() == deviceId) {
167 return gamepad;
180 * Handles key events from the gamepad devices
    [all...]

Completed in 595 milliseconds