Skip to content

Conversation

@ayan312002
Copy link

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.

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.
@ayan312002
Copy link
Author

And yes don't forget to make the header file.

@plankp
Copy link
Collaborator

plankp commented Feb 5, 2016

Have you tested this yourself?

@ayan312002
Copy link
Author

Of course.. Read the description.

@plankp
Copy link
Collaborator

plankp commented Feb 5, 2016

I mean on QOS. Because I tried and it did not work.

@ayan312002
Copy link
Author

Did you make the header. What error are you facing? I will send screenshot of it working or make a video.

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

No error. But no cursor. Moving mouse does nothing

@ayan312002
Copy link
Author

mouse_test

@ayan312002
Copy link
Author

Did you call mouse_install?

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

Yes I did.

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

I called it right after initialize_keyboard

@ayan312002
Copy link
Author

Did you add headers to mouse c file..

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

Yes. (And yes, otherwise, I cannot compile the program)

@ayan312002
Copy link
Author

I don't know not every copy-pasted code works. try some tweaks..

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

......

@plankp
Copy link
Collaborator

plankp commented Feb 6, 2016

So you have not tried it on QOS itself then.

@ayan312002
Copy link
Author

nope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants