Rev 5848 | Rev 5865 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5848 | Rev 5851 | ||
---|---|---|---|
Line 1039... | Line 1039... | ||
1039 | * bit 2 is set = middle button is pressed |
1039 | * bit 2 is set = middle button is pressed |
1040 | * bit 3 is set = 4th button is pressed |
1040 | * bit 3 is set = 4th button is pressed |
1041 | * bit 4 is set = 5th button is pressed |
1041 | * bit 4 is set = 5th button is pressed |
1042 | Returned value: |
1042 | Returned value: |
1043 | * function does not return value |
1043 | * function does not return value |
- | 1044 | ||
- | 1045 | -------------- Subsubfunction 6 - get doubleclick delay. ------------- |
|
- | 1046 | Parameters: |
|
- | 1047 | * eax = 18 - function number |
|
- | 1048 | * ebx = 19 - subfunction number |
|
- | 1049 | * ecx = 6 - subsubfunction number |
|
- | 1050 | Returned value: |
|
- | 1051 | * eax = current doubleclick delay (100 = 1 second) |
|
- | 1052 | ||
- | 1053 | -------------- Subsubfunction 7 - set doubleclick delay. ------------- |
|
- | 1054 | Parameters: |
|
- | 1055 | * eax = 18 - function number |
|
- | 1056 | * ebx = 19 - subfunction number |
|
- | 1057 | * ecx = 7 - subsubfunction number |
|
- | 1058 | * dl = new value for doubleclick delay (100 = 1 second) |
|
- | 1059 | Returned value: |
|
- | 1060 | * function does not return value |
|
- | 1061 | ||
1044 | Remarks: |
1062 | Remarks: |
1045 | * It is recommended to set speed of the mouse (in subsubfunction 1) |
1063 | * It is recommended to set speed of the mouse (in subsubfunction 1) |
1046 | from 1 up to 9. The installed value is not inspected by the kernel |
1064 | from 1 up to 9. The installed value is not inspected by the kernel |
1047 | code, so set it carefully, at incorrect value the cursor |
1065 | code, so set it carefully, at incorrect value the cursor |
1048 | can "freeze". Speed of the mouse can be regulated through the |
1066 | can "freeze". Speed of the mouse can be regulated through the |
Line 1651... | Line 1669... | ||
1651 | relative y-coordinate, and the high word - relative x-coordinate |
1669 | relative y-coordinate, and the high word - relative x-coordinate |
1652 | (with correct sign). Otherwise the low word is negative and still |
1670 | (with correct sign). Otherwise the low word is negative and still |
1653 | contains relative y-coordinate, and to the high word |
1671 | contains relative y-coordinate, and to the high word |
1654 | 1 should be added. |
1672 | 1 should be added. |
Line 1655... | Line 1673... | ||
1655 | 1673 | ||
1656 | ------------ Subfunction 2 - pressed buttons of the mouse ------------ |
1674 | ------------- Subfunction 2 - states of the mouse buttons ------------ |
1657 | Parameters: |
1675 | Parameters: |
1658 | * eax = 37 - function number |
1676 | * eax = 37 - function number |
1659 | * ebx = 2 - subfunction number |
1677 | * ebx = 2 - subfunction number |
- | 1678 | Returned value: |
|
- | 1679 | * eax = bits 0-4 equal to subfunction 3 |
|
- | 1680 | ||
- | 1681 | ------- Subfunction 3 - states and events of the mouse buttons ------- |
|
- | 1682 | Parameters: |
|
- | 1683 | * eax = 37 - function number |
|
- | 1684 | * ebx = 3 - subfunction number |
|
1660 | Returned value: |
1685 | Returned value: |
- | 1686 | * eax contains next information: |
|
- | 1687 | ||
1661 | * eax contains information on the pressed mouse buttons: |
1688 | states: |
1662 | * bit 0 is set = left button is pressed |
1689 | * bit 0 is set = left button is held |
1663 | * bit 1 is set = right button is pressed |
1690 | * bit 1 is set = right button is held |
- | 1691 | * bit 2 is set = middle button is held |
|
- | 1692 | * bit 3 is set = 4th button is held |
|
- | 1693 | * bit 4 is set = 5th button is held |
|
- | 1694 | ||
1664 | * bit 2 is set = middle button is pressed |
1695 | events: |
1665 | * bit 3 is set = 4th button is pressed |
1696 | * bit 8 is set = left button is pressed |
- | 1697 | * bit 9 is set = right button is pressed |
|
- | 1698 | * bit 10 is set = middle button is pressed |
|
- | 1699 | ||
- | 1700 | * bit 15 is set = vertical scroll is used |
|
- | 1701 | ||
1666 | * bit 4 is set = 5th button is pressed |
1702 | * bit 16 is set = left button is released |
- | 1703 | * bit 17 is set = right button is released |
|
- | 1704 | * bit 18 is set = middle button is released |
|
- | 1705 | ||
- | 1706 | * bit 23 is set = horisontal scroll is used |
|
- | 1707 | ||
Line 1667... | Line 1708... | ||
1667 | * other bits are cleared |
1708 | * bit 24 is set = doubleclick by left button |
1668 | 1709 | ||
1669 | -------------------- Subfunction 4 - load cursor --------------------- |
1710 | -------------------- Subfunction 4 - load cursor --------------------- |
1670 | Parameters: |
1711 | Parameters: |