Amjad50 / Emerald

An Operating System in Rust
https://amjad.alsharafi.dev/Emerald
MIT License
12 stars 0 forks source link

Mouse #72

Closed Amjad50 closed 9 months ago

Amjad50 commented 9 months ago

Summary

Added mouse kernel driver, and /devices/mouse for userspace programs. Now we get mouse events.

Weird issue

So, I'm developing in qemu with 2 monitors.

For some reason, when the qemu window in the second monitor, the "move" events aren't generated from the mouse. So I have to always use the first monitor.

Not sure what that this about, I'll see if this is a bug and report/fix it maybe.

Related issue

Fixes #48

Changes

Checklist