chromium/ui/ozone/platform/wayland/host/wayland_zcr_touchpad_haptics.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/ozone/platform/wayland/host/wayland_zcr_touchpad_haptics.h"

#include <touchpad-haptics-unstable-v1-client-protocol.h>

#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"

namespace ui {

namespace {
constexpr uint32_t kMinVersion =;
}

// static
constexpr char WaylandZcrTouchpadHaptics::kInterfaceName[];

// static
void WaylandZcrTouchpadHaptics::Instantiate(WaylandConnection* connection,
                                            wl_registry* registry,
                                            uint32_t name,
                                            const std::string& interface,
                                            uint32_t version) {}

WaylandZcrTouchpadHaptics::WaylandZcrTouchpadHaptics(
    zcr_touchpad_haptics_v1* zcr_touchpad_haptics,
    WaylandConnection* connection)
    :{}

WaylandZcrTouchpadHaptics::~WaylandZcrTouchpadHaptics() = default;

// static
void WaylandZcrTouchpadHaptics::OnActivated(
    void* data,
    zcr_touchpad_haptics_v1* touchpad_haptics) {}

// static
void WaylandZcrTouchpadHaptics::OnDeactivated(
    void* data,
    zcr_touchpad_haptics_v1* touchpad_haptics) {}

void WaylandZcrTouchpadHaptics::Play(int32_t effect, int32_t strength) {}

}  // namespace ui