Skip to content

Is there a way to read the mouse status? #74

Answered by IanSeyler
WEREMSOFT asked this question in Q&A
Discussion options

You must be logged in to vote

PS/2 mouse support is in the main kernel branch now. Works fine in Bochs and QEMU. I haven't tested a physical system yet.

TODO:

  • Add a way to get the relevant values via the API (16-bit X, 16-bit Y, 8-bit buttons). I'll likely return it as a packed 64-bit value.
  • Add an interrupt callback for mouse activity.
  • Update the API documentation.
  • A better test app?

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@the-grue
Comment options

@IanSeyler
Comment options

@the-grue
Comment options

Comment options

You must be logged in to vote
3 replies
@IanSeyler
Comment options

@IanSeyler
Comment options

@IanSeyler
Comment options

Answer selected by IanSeyler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants