Kernel: Implement USB Keyboard

This is kinda hacky, as I had disable the PS/2 initialization so that
usb keyboard gets /dev/keyboard0. I should add device hot plugging
support for TTY and GUI...
This commit is contained in:
2024-07-14 02:09:18 +03:00
parent 1efc6a1385
commit ac5c77ee2c
6 changed files with 256 additions and 3 deletions

View File

@@ -31,6 +31,6 @@ qemu-system-$QEMU_ARCH \
-drive format=raw,id=disk,file=${BANAN_DISK_IMAGE_PATH},if=none \
-device e1000e,netdev=net \
-netdev user,id=net \
-device qemu-xhci \
-device qemu-xhci -device usb-kbd \
$DISK_ARGS \
$@ \