Require a button press on a gamepad for them to be exposed to the DOM.
[WebKit-https.git] / Source / WebCore / platform / gamepad / cocoa / GameControllerGamepad.h
index 994d972..4611ce1 100644 (file)
@@ -58,6 +58,8 @@ private:
 
     RetainPtr<GCGamepad> m_gamepad;
     RetainPtr<GCExtendedGamepad> m_extendedGamepad;
+
+    bool m_hadButtonPresses { false };
 };