[GTK] Implement connected and disconnected events of GAMEPAD API with libmanette
[WebKit-https.git] / Source / WebCore / platform / gamepad / cocoa / GameControllerGamepad.h
index 38cc07d..72e53ba 100644 (file)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#if ENABLE(GAMEPAD) && defined(__LP64__)
+#if ENABLE(GAMEPAD)
 
 #include "PlatformGamepad.h"
 #include <wtf/RetainPtr.h>
@@ -58,11 +58,12 @@ private:
 
     RetainPtr<GCGamepad> m_gamepad;
     RetainPtr<GCExtendedGamepad> m_extendedGamepad;
+
+    bool m_hadButtonPresses { false };
 };
 
 
 
 } // namespace WebCore
 
-#endif // ENABLE(GAMEPAD) && defined(__LP64__)
-
+#endif // ENABLE(GAMEPAD)