mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
c6e23e45c5
Currently, writing anything to `/dev/mouse0` or `/dev/keyboard0` causes the Kernel to panic. The reason for this is that `[Mouse,Keyboard]Device::write` always returns 0, which is explicitly prohibited by `VERIFY` macro in `Process::sys$write`. The fix seems trivial; `write` should return EINVAL instead (as is the case with, for example, `KCOVDevice`). |
||
---|---|---|
.. | ||
HIDDevice.h | ||
HIDManagement.cpp | ||
HIDManagement.h | ||
I8042Controller.cpp | ||
I8042Controller.h | ||
KeyboardDevice.cpp | ||
KeyboardDevice.h | ||
MouseDevice.cpp | ||
MouseDevice.h | ||
PS2KeyboardDevice.cpp | ||
PS2KeyboardDevice.h | ||
PS2MouseDevice.cpp | ||
PS2MouseDevice.h | ||
VMWareMouseDevice.cpp | ||
VMWareMouseDevice.h |