polard8 / kernel

Polar D8 kernel.
https://github.com/polard8/kernel
MIT License
646 stars 35 forks source link

device driver: How can i add a mouse in the OS? #40

Open Siddhesh2377 opened 1 year ago

Siddhesh2377 commented 1 year ago

please help !!

frednora commented 1 year ago

gramado-mouse-1

Well, PS2 Mouse is a work in progress ... See this picture ... the mouse pointer is that yellow rectangle in the middle of the screen ,,, it is able to click on the buttons in the taskbar, so, buttons move down and up. That fake 3d effect.

Siddhesh2377 commented 1 year ago

Ok i will try to add the current mouse, but one more request please make a documentation on the command an KEYS for the OS, please..

Siddhesh2377 commented 1 year ago

Ok i will try to add .., an how can I close the current window, Because i tried to change some code in the ' wn.c ' an now it close the whole desktop 😭..

frednora commented 1 year ago

please help !!

You are right. The mouse thing is a work in process. The ps2 mouse is working only when the system is running on qemu without kvm. Type ./runnokvm and when in the desktop environment, press the combination [Control + F12].