ladybird/Libraries/LibWeb/Gamepad/Gamepad.cpp

25 lines
456 B
C++
Raw Normal View History

2025-07-22 15:11:18 +02:00
/*
* Copyright (c) 2025, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/GamepadPrototype.h>
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Gamepad/Gamepad.h>
namespace Web::Gamepad {
Gamepad::Gamepad(JS::Realm& realm)
: PlatformObject(realm)
{
}
void Gamepad::initialize(JS::Realm& realm)
{
WEB_SET_PROTOTYPE_FOR_INTERFACE(Gamepad);
Base::initialize(realm);
}
}