home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
mouse
/
menumous.arc
/
MENUMOUS.DOC
< prev
next >
Wrap
Text File
|
1989-01-25
|
912b
|
27 lines
THIS PROGRAM IS NOT FANCY. The program does not know if it has
already been loaded, and it does not restore the old interrupt
vector, but it does show how to interface to the Microsoft mouse.
(I just put it in my autoexec, and then I can use the mouse as the
cursor control.)
There are 3 files in this archive:
MenuMous.doc :This file
MenuMous.com :executable (ram-resident)
MenuMous.asm :assembly language source
This code is public domain. I received the baseline about 2 years ago from
a friend who got it from a bulletin board... Anyway, I modified the
code to suit my purposes, and here it is.
What it does:
1) maps Mouse Movement to up,down,left,right arrow keys
(there are 2 constants which set sensitivity)
2) I have a 2-button mouse
Left Button - <esc>
Right Button - <Enter>