PS/2 Mouse: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→Mouse Device Over PS/2: Added command 0xE7 to table (per my own research) |
→Mouse Device Over PS/2: Simplified mouse data packet table |
||
Line 81:
! BYTE!!7!!6!!5!!4!!3!!2!!1!!0
|- align="center"
| 0 || yo || xo || ys || xs ||
|- align="center"
| 1 || colspan="8" |
|- align="center"
| 2 || colspan="8" |
|}
{| class="wikitable"
Line 98:
| xs || X-Axis Sign Bit (9-Bit X-Axis Relative Offset)
|-
|
|-
| bm || Button Middle (Normally Off = 0)
Line 105:
|-
| bl || Button Left (Normally Off = 0)
|}
Line 118 ⟶ 114:
''Being these 9-bit values are signed the above pseudo would work.''
Also, if you simply read the
<pre>
state = first_byte
|