ladybird/Kernel/Devices/HID
Przemysław R. Kusiak c6e23e45c5 Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL
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`).
2021-09-18 22:57:42 +03:00
..
HIDDevice.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HIDManagement.cpp Kernel: Move ACPI and BIOS code into the new Firmware directory 2021-09-12 11:52:16 +02:00
HIDManagement.h AK+Kernel: Move KResult.h to Kernel/API for userspace access 2021-09-05 12:54:48 +02:00
I8042Controller.cpp Kernel: Convert Processor::in_irq() to static current_in_irq() 2021-08-23 00:02:09 +02:00
I8042Controller.h Kernel: Make all Spinlocks use u8 for storage, remove template 2021-09-05 20:46:02 +02:00
KeyboardDevice.cpp Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL 2021-09-18 22:57:42 +03:00
KeyboardDevice.h Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL 2021-09-18 22:57:42 +03:00
MouseDevice.cpp Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL 2021-09-18 22:57:42 +03:00
MouseDevice.h Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL 2021-09-18 22:57:42 +03:00
PS2KeyboardDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
PS2KeyboardDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
PS2MouseDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
PS2MouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
VMWareMouseDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
VMWareMouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00