home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / DRIVER82.ZIP / DRIVER82.EXE / APMOUSE.DOC < prev    next >
Text File  |  1993-03-04  |  18KB  |  459 lines

  1. INTRODUCTION
  2.  
  3. APMOUSE is an independently developed DOS driver that lets you use your mouse 
  4. with DOS programs designed to be used with a mouse.
  5.  
  6. A mouse driver is a small program that provides a standard interface between a 
  7. pointing device and an application program that uses the pointing device for 
  8. input.  Once the mouse driver program is run, it normally remains in the 
  9. computer's memory until the machine is shut off.
  10.  
  11. Microsoft created the first mouse driver program for DOS in 1983.  Today, the 
  12. Microsoft mouse driver continues to define the standard pointing device 
  13. interface for DOS application programs.  APPOINT mouse driver 
  14. version 8.0 provides a functionally equivalent emulation of the industry 
  15. standard Microsoft mouse driver, MOUSE.COM and MOUSE.SYS version 8.0.
  16.  
  17. The driver software has two main areas of functionality:
  18.  
  19.     1) Returning mouse coordinates and button status to the applications 
  20.        programs;
  21.  
  22.     2) Drawing and maintaining a tracking cursor that will follow the 
  23.        motion of the mouse.
  24.  
  25. Normally the operation of the driver will be transparent.  You only have to 
  26. ensure that the driver is installed before you run applications that use 
  27. a mouse.
  28.  
  29. INSTALLING THE APMOUSE DRIVER
  30.  
  31. Before you install the software, you should make sure the mouse is hooked up to
  32. the computer.  If you should encounter a problem, always double check the 
  33. hardware connection to see if it is correct.
  34.  
  35. APMOUSE comes in two different forms: the file APMOUSE.COM is a "resident 
  36. program" mouse driver, and the file APMOUSE.SYS is an "installable MS-DOS device
  37. driver".  APMOUSE.COM is by far the easier mouse driver to install.  To install 
  38. APMOUSE.COM, just type at the DOS prompt:
  39.  
  40.     APMOUSE
  41.  
  42. You need to install APMOUSE before running an application which uses the mouse. 
  43. If you have a hard disk drive you will probably want to copy APMOUSE.COM onto 
  44. your hard disk.  Many people add the APMOUSE command to their AUTOEXEC.BAT file,
  45. so the driver is installed automatically whenever they start using their 
  46. computer.
  47.  
  48. The second way to install APMOUSE is by including APMOUSE.SYS as a device driver 
  49. in your CONFIG.SYS file.  Add the line below to your CONFIG.SYS file with a 
  50. text editor:
  51.  
  52.     DEVICE=APMOUSE.SYS
  53.  
  54. If the APMOUSE.SYS file is not stored in the root directory of your hard disk 
  55. drive, the correct path name should be in front of APMOUSE.SYS.  If you need to 
  56. change the mouse type, or if you want to remove APMOUSE, you have to make the 
  57. changes in your CONFIG.SYS file and then reboot the machine.
  58.  
  59. This method will have a result that is identical to running APMOUSE.COM each 
  60. time that you start up your computer, with the following exceptions: (1) you 
  61. can not remove APMOUSE.SYS from memory with the /off command line option; 
  62. (2) APMOUSE.SYS cannot read configuration commands from the MOUSE.INI 
  63. configuration file; (3) APMOUSE.SYS cannot make use of expanded memory, high 
  64. memory, or upper memory blocks.
  65.  
  66. Usually you do not need to use any command line options. However, if command-
  67. line options are needed, you must include them in you CONFIG.SYS file.
  68.  
  69. For example:
  70.  
  71.     DEVICE=APMOUSE.SYS /c2           to install on COM2
  72.  
  73. Once the mouse driver is installed into memory, you are ready to use your 
  74. application program.
  75.  
  76. REMOVING THE APMOUSE DRIVER
  77.  
  78. APMOUSE will remain in memory, ready for use by any applications program until 
  79. you either reboot or turn off your computer.  Remember though that you will 
  80. have to re-install APMOUSE if you reboot an applications disk, unless the 
  81. APMOUSE.SYS file is already included in your CONFIG.SYS file as a device driver,
  82. or APMOUSE.COM is included in your AUTOEXEC.BAT file.
  83.  
  84. You can disable and remove the APMOUSE driver by typing the command:
  85.  
  86.     APMOUSE OFF
  87.  
  88. This command releases the hardware port to which the mouse is connected, and if
  89.  possible, the mouse driver will be removed from memory.  If other TSR programs
  90.  have been loaded after APMOUSE.COM, however, APMOUSE will not be released from 
  91. memory.  APMOUSE.SYS can not be removed from memory.
  92.  
  93. CONFIGURING THE MOUSE DRIVER
  94.  
  95. Normally the APMOUSE driver automatically configures itself for the type of 
  96. mouse you have, you do not need to set any options.  However, there are a 
  97. number of options which you can select from the command line or by an entry in 
  98. a special file named MOUSE.INI.
  99.  
  100. The mouse driver options control four areas of the drivers bahavior: 
  101.  
  102.     1) the mouse hardware type and the port that the mouse is connected to;
  103.  
  104.     2) the cursor the driver displays on screen and what language it uses 
  105.        for messages;
  106.  
  107.     3) the location in memory where the mouse driver will be loaded;
  108.  
  109.     4) motion sensitivity settings.
  110.  
  111.  
  112. COMMAND-LINE SWITCHES
  113.  
  114. These options can be issued after the driver is initially installed.  However, 
  115. memory location and mouse type can not be changed without removing the APMOUSE 
  116. driver.  Please refer to the respective sections for details.
  117.  
  118. The command-line options can be combined together. For example, you can use 
  119. both /h and /v together, and it will work in the same way as using /s. The 
  120. order of the command-line switches is not significant.
  121.  
  122. Either upper or lower-case letters can be used in command-line options. The 
  123. place-holder # following some option letters represents an optional number. 
  124.  
  125.  
  126. Mouse Type Options
  127.  
  128. The APMOUSE driver is capable of operating with any of the standard kinds of Microsoft serial
  129. mice.  When it installs, the APMOUSE driver searches first for a PS/2 mouse, and then a Microsoft compatible 
  130. serial mouse.  If the driver does not find a pointing device or the PS/2 port, it will 
  131. default to installing a driver for a Microsoft serial mouse on the first 
  132. COM port it finds.
  133.  
  134. For a serial mouse, use the /c# command-line option to select which serial port 
  135. the mouse is connected to (# here refers to COM port 1,2,3 or 4).  For example:
  136.  
  137.     APMOUSE /c2              for com2
  138.  
  139. Command-line options can also be used to force APMOUSE to install for the type 
  140. of serial mouse you have.  For example,
  141.  
  142.     /mi             force Microsoft-type serial driver to install
  143.  
  144. For a PS/2 style mouse, you type:
  145.  
  146.     APMOUSE /z               For PS/2 style mouse
  147.  
  148. APMOUSE will print a message confirming that it is installed.  For example, if 
  149. you are using a serial mouse with COM 1 as the COM port, after you type APMOUSE,
  150. the following message will appear:
  151.  
  152.     Installed on COM 1
  153.  
  154. If the mouse does not seem to be working, you should check whether the 
  155. connection is correct, and re-install the mouse driver.
  156.  
  157. Display Options
  158.  
  159. Cursor Display Delay
  160. The Cursor Display Delay switch (/n#) controls how often the cursor is redrawn 
  161. while the mouse moves across the screen.  Reducing the redraw rate may help you
  162. to follow cursor movement better on LCD displays.  The value can be in the 
  163. range of 0 - 10.  A larger number results in a less frequent cursor display.
  164.  
  165. Force Default Cursor
  166. The /m# switch is a useful command if you are using an application that draws 
  167. a small cursor on a laptop (or palmtop) computer with an LCD display.  It forces
  168. the mouse driver to use a default text cursor, which is a character size block, 
  169. and thus may make the cursor easier to follow.  The command /m0 turns it off, 
  170. while /m1 turns it on.
  171.  
  172. Foreign Languages
  173. If you want to change the language in which APMOUSE message appears, you can use 
  174. the commmand-line switch /l(letter).  Besides English, which is the default 
  175. language, other languages included are: German(d), Spanish(e), French(f), 
  176. Italian(i), Dutch(nl), Finnish(sf), and Swedish(s).
  177.  
  178. For example, for German messages, type at the DOS prompt:
  179.  
  180.     APMOUSE /ld
  181.  
  182. If you want to go back to English, just type:
  183.  
  184.     APMOUSE /l
  185.  
  186. Memory Options
  187.  
  188. Only APMOUSE.COM can be relocated.  APMOUSE.SYS can not be located.
  189.  
  190. There are many times when you want to maximize the amount of memory available 
  191. to your DOS applications programs.  One way to do it is to move the APMOUSE 
  192. driver to a location in memory outside of the area used by applications 
  193. programs.
  194.  
  195. New versions of MS DOS and DR DOS can relocate APMOUSE, as can a number of 
  196. utility programs such as QEMM, 386MAX, NETROOM and others.  If you are using 
  197. one of these programs to relocate the mouse driver, then you do not need to use 
  198. the mouse driver's relocation command-line options, although they still work, 
  199. and are compatible.  
  200.  
  201. The mouse driver normally resides in low memory, which is where DOS applications
  202. programs are also loaded.  If you need more space for your applications, you 
  203. can relocate most of the APMOUSE driver to either expanded memory, high memory, 
  204. or upper memory block.  
  205.  
  206. Use the /u command to load the mouse driver into upper memory (between 640k - 
  207. 1 MB), or the /e command switch to load it into expanded memory, or the /hi 
  208. command to load it into high memory (first 64k above 1 MB).
  209.  
  210. To relocate the driver to expanded memory, you must have either expanded memory
  211. hardware, such as an Intel Above Board, or a software driver, such as EMM386 or 
  212. QEMM in your machine.
  213.  
  214. To relocate the driver to high memory you must have an 80286, 80386 or 80486 
  215. family processor and more than 1 MB of memory.  You must also have the 
  216. HIMEM.SYS driver, or its equivalent, loaded before installing the mouse driver.
  217.  
  218. To relocate the driver to an upper memory block, your CONFIG.SYS file should 
  219. have the line:
  220.  
  221.     DEVICE=HIMEM.SYS
  222.  
  223. In addition, if you are running DOS 5.0, you should also have the line
  224.  
  225.     DOS=UMB
  226.  
  227. in your CONFIG.SYS file.  And in your AUTOEXEC.BAT file you can put:
  228.  
  229.     APMOUSE /hi       for high memory block
  230.  
  231. A small amount of low memory is still required even when the main body of the 
  232. driver is loaded into either high or expanded memory. 
  233.  
  234. You cannot relocate the mouse driver into another memory area without first 
  235. removing the mouse driver by using the APMOUSE OFF command.
  236.     
  237. Other Settings
  238.  
  239. Sensitivity 
  240. Three command options are provided to adjust the sensitivity of the cursor 
  241. tracking.  The default sensitivity setting provides the same tracking response 
  242. as the mouse hardware.  Each sensitivity option is a number from 5 to 100.  50 
  243. is the default setting.  
  244.  
  245. Larger numbers increase the sensitivity, making the cursor move more rapidly, 
  246. and smaller number decrease the sensitivity.  You can experiment to find a 
  247. comfortable setting for yourself.
  248.  
  249. The command options are:
  250.  
  251.     /s#             set both horizontal and vertical sensitivity
  252.  
  253.     /h#             set the horizontal sensitivity
  254.  
  255.     /v#             set the vertical sensitivity
  256.  
  257. For example:
  258.  
  259.     APMOUSE /s100
  260.  
  261. provides a very fast mouse while
  262.  
  263.     APMOUSE /s10
  264.  
  265. provides a very slow mouse for highly accurate cursor positioning.
  266.  
  267. Button Mapping
  268. The left button is the primary button by default.  However, you can redefine 
  269. primary and secondary buttons to suit your own preferences by using the command 
  270. /kp#s#.  In this command, p# is the primary button number, s# is the secondary 
  271. button value.
  272.  
  273. Button numbers for two-button mice:
  274.  
  275.     Button                          Value
  276.     Left Button                     1
  277.     Right Button                    2
  278.  
  279.  
  280. For a left handed user, it is convenient to have the primary button be the 
  281. right button on the mouse, and the secondary button be the left button.  The 
  282. command to do this is:
  283.  
  284.     APMOUSE /kp2s1           for a two-button mouse.
  285.  
  286. Rotation Angle
  287. This command specifies the rotation angle of the mouse cursor's movement 
  288. relative to its physical motion.  The rotation angle is an integer value 
  289. representing the number of degrees that the mouse's vertical axis is rotated 
  290. clockwise from the default axis.  The range is 0 - 359.  Typically this command 
  291. is used to adjust the output of a mouse or trackball when the user finds it 
  292. most comfortable to hold the device at an angle.
  293.  
  294. MOUSE.INI FILE
  295.  
  296. The MOUSE.INI is an initialization file which contains many settings for the 
  297. mouse driver.  The file is specially useful if you want to save some features 
  298. as default values.  It avoids the trouble of typing in those command-line 
  299. options every time you install the APMOUSE driver.
  300.  
  301. The settings in MOUSE.INI are read by the mouse driver when it is loaded into 
  302. memory.  APMOUSE.SYS, however, can not read the MOUSE.INI file.  
  303.  
  304. Whenever you change any setting in the MOUSE.INI file, it becomes the default 
  305. setting.  You can always use command-line switches to override the settings in 
  306. MOUSE.INI if you want to make a temporary change.  The default settings for 
  307. MOUSE.INI file for two button mice are as follows:
  308.  
  309. [mouse]
  310. MouseType = ** automatic search **
  311. Language = English
  312. Memory = LowMem
  313. ActiveAccelerationProfile = 2
  314.  
  315. PrimaryButton = 1
  316. SecondaryButton = 2
  317. ClickLock = Off
  318. RotationAngle = 0
  319.  
  320. InterruptRate = 1
  321. HorizontalSensitivity = 50
  322. VerticalSensitivity = 50
  323. CursorDisplayDelay = 0
  324. ForceDefaultCursor = Off
  325.  
  326. The MOUSE.INI file stores acceleration profiles at the end of the file.
  327.  
  328. [DOSPointer]
  329. PointerSize = Small
  330. PointerColor = Normal
  331. Growth = False
  332. Threshold = 1
  333. Delay = 1
  334.  
  335. [AcelerationProfile1]
  336. Label =         Slow
  337. Movement =      1     30    33    37    41    46
  338. Factor =     1.00   3.00  3.25  3.50  3.75  4.00
  339.  
  340. [AccelerationProfile2]
  341. Label =         Moderate
  342. Movement =      1     5     7     9    11    37    39    41    43
  343. Factor =     1.00  1.25  1.50  1.75  2.00  2.25  2.50  2.75  3.00
  344.  
  345. [AccelerationProfile3]
  346. Label =         Fast
  347. Movement =      1    9   12   15   18   21   24   27   30   33   37   41   46
  348. Factor =     1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00 3.25 3.50 3.75 4.00
  349.  
  350. [AccelerationProfile4]
  351. Label =         Unaccelerated
  352. Movement =      1
  353. Factor =     1.00
  354.  
  355. You can use any text editor or word processor that saves ASCII files to edit 
  356. the MOUSE.INI file.  
  357.  
  358. The DOSPointer is a newly added section to the MOUSE.INI.  Its features 
  359. are most helpful for LCD displays where the cursor movement is not as 
  360. easy to follow.
  361.  
  362. You can change the pointer size from small, medium, to large; and its 
  363. color can be set to normal, reverse, or transparent.  You need to try it 
  364. yourself to find out the size and the color you like most.
  365.  
  366. In text mode the pointer will increase and reduce in size if you put 
  367. growth value equal to true in the MOUSE.INI file.  In graphics mode, 
  368. however, it will be shown against a contrasting block.  If you do not 
  369. desire this feature, you only have to set growth value to False.  Please 
  370. note, however, that the text pointer can only grow to the size you have 
  371. defined in the MOUSE.INI.  That is to say, it will grow too large if set 
  372. too large.  It will not grow at all if the pointer size is set to small.
  373.  
  374. There is a threshold of mouse movement speed you need to reach in order 
  375. to enable the pointer to "grow".  It can be set from 1 to 100.  Moving 
  376. the mouse at a speed faster than the threshold value will result in a 
  377. bigger/contrasted cursor.  The higher the threshold value, the faster 
  378. you will have to move the mouse to see the pointer "grow".  If you set 
  379. threshold value to 1, you will frequently see the enlarged/contrasted 
  380. pointer when moving the mouse.  If your threshold value is 100, however, 
  381. you will probably not see it unless you move the mouse very fast.
  382.  
  383. Delay, which also ranges from 1 to 100, determines the duration the
  384. pointer "growth" lasts.  The higher the delay value, the longer you see 
  385. the cursor "grow".  If the delay is set to 1, you will see a 
  386. tempoarily enlarged/contrasted pointer before it falls back to the 
  387. original state.  If you set the delay value to 100, however, the 
  388. enlargement/contrasted block will last for quite a while.
  389.  
  390.  
  391. Examples:
  392. To change the vertical and horizontal sensitivities to 95, you type:
  393.  
  394.     VerticalSensitivity = 95
  395.     HorizontalSensitivity = 95
  396.  
  397. If you want to load your APMOUSE driver always into expanded memory and the 
  398. installation messages appear in French, you type:
  399.  
  400.     Memory = EMM
  401.     Language = French
  402.  
  403. MOUSE DRIVER BALLISTICS
  404.  
  405. APMOUSE supports fully Microsoft compatible ballistic acceleration.  This mouse 
  406. driver comes with four built-in ballistic gain profiles: 
  407.  
  408.     Speed                   Value
  409.     Slow:                   ballistic profile 1
  410.     Moderate:               ballistic profile 2
  411.     Fast:                   ballistic profile 3
  412.     Unaccelerated:          ballistic profile 4
  413.  
  414. To select a ballistic profile, you can use /p# command-line options.  For 
  415. example, you type:
  416.  
  417.     APMOUSE /p1              select ballistic profile 1
  418.  
  419. Each of the four movement profile defines how much cursor motion results from 
  420. a given amount of mouse motion.  You can also use the SETSPEED program to 
  421. choose profiles, load a new set of profiles, or find out which profile is in 
  422. effect within your mouse driver.  Of course, the mouse driver must be loaded 
  423. before you use SETSPEED.EXE.
  424.  
  425. The command-line options for SETSPEED are:
  426.  
  427.     SETSPEED /p# /ffilename
  428.  
  429. where # is 1, 2, 3, or 4. Filename is the name of a text file containing 
  430. movement profiles to be used by the mouse driver.
  431.  
  432.     SETSPEED /?
  433.  
  434. reports the currently active profile.  For example,
  435.  
  436.     SETSPEED /p3 /fPROFILES.TXT
  437.  
  438. selects movement profile 3 from the file "PROFILES.TXT"
  439.  
  440. The motion profile data files are text files that define the relationship 
  441. between mouse motion and screen cursor motion.  For each movement profile 
  442. within the file there is a list of mouse motions and corresponding scaling 
  443. factors.  A scaling factor of 1.0 means that one mouse motion increment 
  444. corresponds to one screen motion increment.  Larger scaling factors result in 
  445. "faster" mouse motion.  Use the file DEFAULT.PRO as a guide to the proper 
  446. syntax of the motion profile data.
  447.  
  448. Mouse movement values can range from 1 to 127, while scaling factors can range 
  449. from 0 to 16.  A scaling factor value of 0.5 effectively halves the resolution 
  450. of the mouse (eg. from 400 to 200 dpi).
  451.  
  452. You can specify up to 32 mouse movement entries, and the steps between entries 
  453. in the list do not have to be equal.  For each movement entry you must specify 
  454. a factor entry.  The profile labels are truncated to 16 characters when the 
  455. profile is loaded into the mouse driver.
  456.  
  457.  
  458.                 END.
  459.