Talk:Mouse Input: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
Line 17: Line 17:


KMT dk
KMT dk

== Packet Information? ==

At the end of the 'Mouse Packet Info' header, it says:
"The bottom 3 bits of the first byte indicate whether the middle, right, or left mouse buttons are currently being held down, if the respective bit is set. Middle = bit 2 (value=4), right = bit 1 (value=2), left = bit 0 (value=1)."

This indicates that:
* Bit 0: Left Mouse Button
* Bit 1: Right Mouse Button
* Bit 2: Middle Mouse Button

Whilst the table of 'byte 1' says that the Right Mouse Button is bit 0. Is it just me or is there something wrong with the table or the text?

Revision as of 10:50, 2 July 2009

Todo

  • Basic Packet Format
  • Extended Modes (wheel and five-button mode)
  • Cursor display
  • Anything else...?

Did the first two

Could still put in a pretty wiki graphic to show the bits in first packet byte. Fourth packet byte is so variable that a graphic seems impractical.

And I didn't cover cursor display at all. That seems like it doesn't belong in a hardware article? Bewing 01:25, 15 November 2007 (CST)

today

add the graphic wiki style ( however it will be good, if someone who can "extend" those bitmaps ( Z movement and those with only 1 ..)

a cursor is a "GUI" thing, however explaning about movement direction would might be a good ider ?

KMT dk

Packet Information?

At the end of the 'Mouse Packet Info' header, it says: "The bottom 3 bits of the first byte indicate whether the middle, right, or left mouse buttons are currently being held down, if the respective bit is set. Middle = bit 2 (value=4), right = bit 1 (value=2), left = bit 0 (value=1)."

This indicates that:

 * Bit 0: Left Mouse Button
 * Bit 1: Right Mouse Button
 * Bit 2: Middle Mouse Button

Whilst the table of 'byte 1' says that the Right Mouse Button is bit 0. Is it just me or is there something wrong with the table or the text?