Mouse Input: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m More grammar fixes... |
m Damn I just keep seeing grammar mistakes everywhere... |
||
Line 28: | Line 28: | ||
indicating the status of mouse wheels and extra buttons. |
indicating the status of mouse wheels and extra buttons. |
||
Mice with no scroll wheels use 3 byte packets exclusively. Mice with scroll |
Mice with no scroll wheels use 3 byte packets exclusively. Mice with scroll wheels, and up to |
||
5 buttons (currently) can send 4 byte packets, if they are initialized properly. |
5 buttons (currently) can send 4 byte packets, if they are initialized properly. |
||
Line 57: | Line 57: | ||
! Always 1 |
! Always 1 |
||
! Middle Btn |
! Middle Btn |
||
⚫ | |||
! Right Btn |
! Right Btn |
||
⚫ | |||
|} |
|} |
||
<br> |
<br> |
||
Line 269: | Line 269: | ||
Scaling: if it is 1, scaling 2:1 is enabled; if 0 then scaling 1:1 is enabled.<br> |
Scaling: if it is 1, scaling 2:1 is enabled; if 0 then scaling 1:1 is enabled.<br> |
||
⚫ | |||
These terms are all like 'settings' or 'options' for the mouse. For example, when you move the mouse, how many |
|||
packets it will send per movement, etc. Below you will find an explanation of these terms and a table with their |
|||
respective possibly values. |
|||
⚫ | |||
Scaling: Changes the actual packet that is sent (the movement bytes, for example).<br /> |
|||
⚫ | |||
⚫ | |||
Those is some options about the mouse, when you move it, and about how many packets it can make pr second. |
|||
⚫ | |||
Scaling: is a change to the packet reported for each millimeter. |
|||
⚫ | |||
Those “options” can (of cause) have different value, so let’s sum them up: |
|||
Resolution: |
Resolution: |
||
Line 295: | Line 297: | ||
|} |
|} |
||
<br> |
<br> |
||
For scaling, there |
For scaling, there aren't many possibilities, since it can either be “1:1” or “2:1”, but looking at the scheme (below) we can see what happens if it is “2:1” |
||
{| border="1" cellspacing="0" cellpadding="5" align="center" |
{| border="1" cellspacing="0" cellpadding="5" align="center" |
||
Line 351: | Line 353: | ||
===Initializing a PS2 Mouse=== |
===Initializing a PS2 Mouse=== |
||
The PS2 mouse port on a PC is attached to the auxiliary input of the PS2 keyboard controller. That input |
The PS2 mouse port on a PC is attached to the auxiliary input of the PS2 keyboard controller. That input |
||
might be disabled at bootup, and needs to be enabled. It is usually also desirable to have the mouse generate |
might be disabled at bootup, and needs to be enabled. It is usually also desirable to have the mouse generate |