Q-Operating-System
Q-Operating-System copied to clipboard
Create mouse.c
Implemented a support for mouse...partially :( I'm currently developing it for my os so thought for sharing the code. Take a look at the code and change it according to your needs. I tried it on qemu and when you move cursor it prints. I'm currently sick and will try to improve it in future.
And yes don't forget to make the header file.
Have you tested this yourself?
Of course.. Read the description.
I mean on QOS. Because I tried and it did not work.
Did you make the header. What error are you facing? I will send screenshot of it working or make a video.
No error. But no cursor. Moving mouse does nothing
Did you call mouse_install?
Yes I did.
I called it right after initialize_keyboard
Did you add headers to mouse c file..
Yes. (And yes, otherwise, I cannot compile the program)
I don't know not every copy-pasted code works. try some tweaks..
......
So you have not tried it on QOS itself then.
nope.