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

Kernel: Move HIDDevice::enable_interrupts method to I8042Device class

It happens to be that only PS/2 devices that are connected via the i8042
controller can generate interrupt events, so it makes much more sense to
have those devices to implement the enable_interrupts method because of
the I8042Device class and not the HIDDevice class.
This commit is contained in:
Liav A 2022-12-20 08:17:25 +02:00 committed by Jelle Raaijmakers
parent d76c08c9b0
commit d8cbda6950
2 changed files with 5 additions and 3 deletions

View file

@ -20,7 +20,6 @@ public:
};
virtual Type instrument_type() const = 0;
virtual void enable_interrupts() = 0;
protected:
HIDDevice(MajorNumber major, MinorNumber minor)