added microsoft ps/2 support

This commit is contained in:
2026-07-20 19:45:08 +01:00
parent e5dcc9790b
commit acf8ff2c33
4 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ pub fn main(init: runtime.process.Init) void {
_ = runtime.system.write("/system/drivers/ps2-bus/mouse: out of memory\n");
return;
};
if (device.findDeviceDescriptorByHid(buffer, hid) == null) {
if (ps2.findMouseDescriptor(buffer) == null) {
writeLine("/system/drivers/ps2-bus/mouse: no device for hid {s}\n", .{hid});
return;
}