mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-25 17:15:42 +02:00
22 lines
414 B
C++
22 lines
414 B
C++
/*
|
|
* Copyright (c) 2025, Sönke Holz <soenke.holz@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Forward.h>
|
|
|
|
namespace Kernel::HID {
|
|
|
|
class TransportInterface {
|
|
public:
|
|
virtual ~TransportInterface() = default;
|
|
|
|
using InputReportCallback = Function<void(ReadonlyBytes)>;
|
|
virtual ErrorOr<void> start_receiving_input_reports(InputReportCallback&&) = 0;
|
|
};
|
|
|
|
}
|