CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.91k stars 549 forks source link

MOUSE #498

Closed ghost closed 7 years ago

ghost commented 7 years ago

Where do you add a mouse in cosmos? I have got most of my os done.

jp2masa commented 7 years ago

In the mouse tutorial, there's a link to CodeProject, follow that guide and adapt it to your project, it's not really easy.

ghost commented 7 years ago

...I mean where you add the mouse, in the kernel? The display driver? And in what void? Such questions

ghost commented 7 years ago

it never tells

lexected commented 7 years ago

jp2masa, DjAlEx234 ....

PLEASE, STOP THIS TERRIBLE SPAM!

What's the meaning of sending a message every minute with a single sentence? Well, first of all, there's none in the majority of cases, and then can't you just use chat if there's only two of you? No one is ever going to crawl through these, so there's no point in archiving "Yes", "Let me try", "I think so" 10 times a week.

~lexected

On 30/10/2016 02:05, DjAlEx234 wrote:

it never tells

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CosmosOS/Cosmos/issues/498#issuecomment-257125411, or mute the thread https://github.com/notifications/unsubscribe-auth/AIvSfcZG-qGV0GTrmdCyVy0w0UnDOER0ks5q4-1ZgaJpZM4KkP2_.

jp2masa commented 7 years ago

@lexected if it bothers you so much, just stop "watching" the repo.

@DjAlEx234 I think the tutorial says to create a class MouseDriver or something like that in the Hardware project. Don't forget I'm talking about the CodeProject tutorial from which the wiki tutorial was made. The tutorial in the wiki is a bit incomplete in my opinion.

zarlo commented 7 years ago

just do it in the system ring

fanoI commented 7 years ago

There is already a Mouse driver in the Cosmos sources: https://github.com/CosmosOS/Cosmos/blob/master/source/Cosmos.HAL/Mouse.cs

it is to see if / how it is working, if it does not work please fix in the main Cosmos repo not your private OS.

Thanks!

P.S. There is something in the wiki regarding Mouse: https://github.com/CosmosOS/Cosmos/wiki/Creating-a-GUI-Adding-the-mouse