Searched refs:m_buttons (Results 1 - 8 of 8) sorted by relevance
/macosx-10.10/WebCore-7600.1.25/Modules/gamepad/ |
H A D | Gamepad.cpp | 46 m_buttons.append(GamepadButton::create()); 60 return m_buttons; 67 for (unsigned i = 0; i < m_buttons.size(); ++i) 68 m_buttons[i]->setValue(platformGamepad.buttonValues()[i]);
|
H A D | Gamepad.h | 68 Vector<Ref<GamepadButton>> m_buttons; member in class:WebCore::Gamepad
|
/macosx-10.10/WebCore-7600.1.25/platform/linux/ |
H A D | GamepadDeviceLinux.h | 47 unsigned buttonsCount() { return m_buttons.size(); } 48 float* buttonsData() { return m_buttons.data(); } 66 Vector<float> m_buttons; member in class:WebCore::GamepadDeviceLinux
|
H A D | GamepadDeviceLinux.cpp | 58 m_buttons.fill(0.0, numberOfButtons); 80 m_buttons[event.number] = normalizeButtonValue(event.value);
|
/macosx-10.10/WebCore-7600.1.25/Modules/gamepad/deprecated/ |
H A D | Gamepad.cpp | 50 m_buttons.resize(count); 52 std::copy(data, data + count, m_buttons.begin());
|
H A D | Gamepad.h | 59 const FloatVector& buttons() const { return m_buttons; } 68 FloatVector m_buttons; member in class:WebCore::Gamepad
|
/macosx-10.10/WebCore-7600.1.25/platform/mac/ |
H A D | HIDGamepad.cpp | 77 std::sort(m_buttons.begin(), m_buttons.end(), [](const std::unique_ptr<HIDGamepadButton>& a, const std::unique_ptr<HIDGamepadButton>& b) { 82 m_buttonValues.resize(m_buttons.size()); 84 for (auto& button : m_buttons) 131 m_buttons.append(std::make_unique<HIDGamepadButton>(usage, min, max, element)); 134 m_elementMap.set(cookie, m_buttons.last().get()); 173 for (unsigned i = 0; i < m_buttons.size(); ++i) { 174 if (m_buttons[i].get() == element)
|
H A D | HIDGamepad.h | 119 Vector<std::unique_ptr<HIDGamepadButton>> m_buttons; member in class:WebCore::HIDGamepad
|
Completed in 139 milliseconds