Hi,
I have successfully got PS/2 keyboard and mouse working, along with a nice, dynamically chosen VESA mode to go with it. It doesn't work quite right on Bochs, but it seems to be just fine on VirtualBox.
The only issue is that the mouse pointer seems to only be picking up relative movement within the window. If the mouse is outside the window, the cursor doesn't move. More troublingly, when the mouse cursor moves back over the window, the mouse cursor inside the VM doesn't jump to the location of the real mouse.
I wouldn't exactly expect it to, since the code only measures offsets, but I know it's possible (the Ubuntu VM I'm using to build this thing in the first place works great in this regard, for example). What should I look at to fix?
Thanks,
_________________ Github of my OS
Last edited by Geometrian on Wed Jan 31, 2024 5:37 pm, edited 1 time in total.
|