1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

Kernel/HID: Add methods to attach and detach standalone devices

This commit is contained in:
Liav A 2022-03-05 14:12:36 +02:00 committed by Jelle Raaijmakers
parent 83835c7256
commit 62c2c9df69
3 changed files with 27 additions and 0 deletions

View file

@ -11,7 +11,9 @@
namespace Kernel {
class HIDManagement;
class HIDDevice : public CharacterDevice {
friend class HIDManagement;
protected:
HIDDevice(MajorNumber major, MinorNumber minor)
@ -20,6 +22,8 @@ protected:
}
EntropySource m_entropy_source;
IntrusiveListNode<HIDDevice, NonnullRefPtr<HIDDevice>> m_list_node;
};
}