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:
parent
83835c7256
commit
62c2c9df69
3 changed files with 27 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue