home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
pcmag
/
vol8n08.arc
/
MOUSECTL.DOC
< prev
next >
Wrap
Text File
|
1989-03-20
|
2KB
|
54 lines
MOUSECTL.COM
Command
Michael J. Mefford
1989 No. 8 (Utilities)
Purpose: Provides multiple sensitivity settings for achieving more
precise and smooth control of IBM and MicroSoft mice.
Format: MOUSECTL [n ... n | filename | /U]
Remarks: MOUSECTL is a memory-resident utility that can be loaded either
at the DOS prompt or as part of an AUTOEXEC.BAT file. It can be used only with
IBM or MicroSoft mouse drivers and must be loaded after either MOUSE.SYS or
MOUSE.COM. MOUSECTL can be deinstalled by entering the command with the /U
switch.
The optional n parameters consist of up to eight "multiplier" values
between 0 and 32767, which are used to modify the mouse sensitivity. The
default values are 5,6,10,15,22,30,50,70. Other values for n may be entered
using either a space or a comma delimiter. The n values are entered into a
look-up table from left to right; if less than 8 numbers are entered those
already in the table remain in force.
The range values represent the number of mickeys (1/200th-inch
increments) the mouse actually moves during its 25-millisecond reporting period.
The multiplier values (n) are divided by 10 and then multiplied by the range
value to determine the adjusted number of mickeys reported to the application
program. For example, an actual motion of 5 mickeys, multiplied by 0.6 results
in 3 mickeys being reported, slowing the mouse movement to obtain more precise
control for drawing. A movement of 30 mickeys in one 25-ms period will be
multiplied by 5.0, so that 150 mickeys will be reported, moving the cursor very
rapidly for page scanning.
Note: Because MicroSoft Windows loads its own mouse driver, MOUSECTL cannot be
used with Windows utilities or with programs (such as Pagemaker) that must,
rather than may, be run under Windows.
Available for downloading from PC MagNet (see the accompanying sidebar
MOUSECTL by Modem), MOUSECTL.COM is already compiled and ready to run. As an
alternative, MOUSECTL.COM can be created from either of two program files that
are both printed in the article and are available for downloading from PC
MagNet. MOUSECTL.BAS will automatically create MOUSECTL.COM when run once in
BASIC. To create MOUSECTL.COM from the MOUSECTL.ASM source code requires use of
a macro assembler (IBM or Microsoft, Version 2 or later) and the following
commands:
MASM MOUSECTL;
LINK MOUSECTL;
EXE2BIN MOUSECTL MOUSECTL.COM;