summaryrefslogtreecommitdiff
path: root/Kernel/Devices/HID/Controller.h
blob: 1d8868297c2728dcc8540e7e6babb0199530d289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/AtomicRefCounted.h>
#include <AK/IntrusiveList.h>

namespace Kernel {

class HIDManagement;
class HIDController : public AtomicRefCounted<HIDController> {
    friend class HIDManagement;

public:
    virtual ~HIDController() = default;

protected:
    HIDController() = default;

private:
    IntrusiveListNode<HIDController, NonnullLockRefPtr<HIDController>> m_list_node;
};

}