Searched refs:m_buttons (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/Modules/gamepad/
H A DGamepad.cpp46 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 DGamepad.h68 Vector<Ref<GamepadButton>> m_buttons; member in class:WebCore::Gamepad
/macosx-10.10/WebCore-7600.1.25/platform/linux/
H A DGamepadDeviceLinux.h47 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 DGamepadDeviceLinux.cpp58 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 DGamepad.cpp50 m_buttons.resize(count);
52 std::copy(data, data + count, m_buttons.begin());
H A DGamepad.h59 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 DHIDGamepad.cpp77 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 DHIDGamepad.h119 Vector<std::unique_ptr<HIDGamepadButton>> m_buttons; member in class:WebCore::HIDGamepad

Completed in 139 milliseconds