Subversion Repositories Kolibri OS

Rev

Rev 5926 | Rev 5967 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5926 Rev 5956
Line 1000... Line 1000...
1000
  * ecx = 1 - subsubfunction number
1000
  * ecx = 1 - subsubfunction number
1001
  * edx = new value for speed
1001
  * edx = new value for speed
1002
Returned value:
1002
Returned value:
1003
  * function does not return value
1003
  * function does not return value
Line -... Line 1004...
-
 
1004
 
-
 
1005
Remark: recommended speed = 1, 0 = lock the cursor.
1004
 
1006
 
1005
---------------- Subsubfunction 2 - get mouse delay. -----------------
1007
------------- Subsubfunction 2 - get mouse acceleration. -------------
1006
Parameters:
1008
Parameters:
1007
  * eax = 18 - function number
1009
  * eax = 18 - function number
1008
  * ebx = 19 - subfunction number
1010
  * ebx = 19 - subfunction number
1009
  * ecx = 2 - subsubfunction number
1011
  * ecx = 2 - subsubfunction number
1010
Returned value:
1012
Returned value:
Line 1011... Line 1013...
1011
  * eax = current mouse delay
1013
  * eax = 2 - fierce, 1 - soft, 0 - off
1012
 
1014
 
1013
---------------- Subsubfunction 3 - set mouse delay. -----------------
1015
------------- Subsubfunction 3 - set mouse acceleration. -------------
1014
Parameters:
1016
Parameters:
1015
  * eax = 18 - function number
1017
  * eax = 18 - function number
1016
  * ebx = 19 - subfunction number
1018
  * ebx = 19 - subfunction number
1017
  * ecx = 3 - subsubfunction number
1019
  * ecx = 3 - subsubfunction number
1018
  * edx = new value for mouse delay
1020
  * edx = 2 - fierce, 1 - soft, 0 - off
Line 1019... Line 1021...
1019
Returned value:
1021
Returned value:
1020
  * function does not return value
1022
  * function does not return value
Line 1058... Line 1060...
1058
  * ecx = 7 - subsubfunction number
1060
  * ecx = 7 - subsubfunction number
1059
  * dl  = new value for doubleclick delay (100 = 1 second)
1061
  * dl  = new value for doubleclick delay (100 = 1 second)
1060
Returned value:
1062
Returned value:
1061
  * function does not return value
1063
  * function does not return value
Line 1062... Line -...
1062
 
-
 
1063
Remarks:
-
 
1064
  * It is recommended to set speed of the mouse (in subsubfunction 1)
-
 
1065
    from 1 up to 9. The installed value is not inspected by the kernel
-
 
1066
    code, so set it carefully, at incorrect value the cursor
-
 
1067
    can "freeze". Speed of the mouse can be regulated through the
-
 
1068
    application SETUP.
-
 
1069
  * Recommended delay of the mouse (in subsubfunction 3) = 10. Lower
-
 
1070
    value is not handled by COM mice. At the very large values the
-
 
1071
    movement of the mouse on 1 pixel is impossible and the cursor will
-
 
1072
    jump on the value of installed speed (subsubfunction 1). The
-
 
1073
    installed value is not inspected by the kernel code.
1064
 
1074
    Mouse delay can be regulated through the application SETUP.
-
 
1075
  * The subsubfunction 4 does not check the passed value. Before
-
 
1076
    its call find out current screen resolution (with function 14)
-
 
1077
    and check that the value of position is inside the limits of the
-
 
Line 1078... Line 1065...
1078
    screen.
1065
Remark: mouse settings can be modified in the application mouse_cfg.
1079
 
1066
 
1080
======================================================================
1067
======================================================================
1081
======== Function 18, subfunction 20 - get information on RAM. =======
1068
======== Function 18, subfunction 20 - get information on RAM. =======