home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.update.uu.se
/
ftp.update.uu.se.2014.03.zip
/
ftp.update.uu.se
/
pub
/
rainbow
/
msdos
/
decus
/
RB140
/
grlib03a.arj
/
ASMMS.H
< prev
next >
Wrap
Text File
|
1988-12-19
|
3KB
|
80 lines
;***************************************************************************
; *
; Copyright (C) 1983,1984 by Microsoft Inc. *
; *
;***************************************************************************
;***************************************************************************
; *
; Header file for Microsoft mouse device driver. Contains all machine *
; specific constant and data structure definitions. *
; *
;***************************************************************************
;-----------------------------------------------------------------------;
;
; Mouse equates
mbfr struc ;local buffer for comm input
count dw 0
size dw 128-16
ipntr dw ?
opntr dw ?
highw dw ?
loww dw ?
head dw ?
tail dw ?
mdata dw 128-16 dup (?)
mbfr ends
ctl_head struc ;packet for IOCTL calls
funct db ? ;function
stat db ? ;returned status
char db ? ;character
cstat db ? ;character status
ctl_head ends
cpkt struc ;MOUSE interrupt condition packet "CONDITION_PACKET"
Movement dw ? ;TRUE = movement has occurred
S_button_rel dw 0 ;secondary button release count
S_button_dep dw 0 ;secondary button depress count
P_button_rel dw 0 ;primary button release count
P_button_dep dw 0 ;primary button depress count
Delta_x dw 0 ;x delta factor (horizontal)
Delta_y dw 0 ;y delta factor (vertical)
Cpkt ends ;
mpkt struc ;MOUSE control packet "MOUSE_PACKET"
P_button dw ? ;TRUE = left or primary button act
S_button dw ? ;TRUE = right or secondary button
T_button dw ? ;TRUE = middle or tertiary button
Deltax dw 0 ;x delta factor (horizontal)
X_ratio dw 0 ;x magnification factor (OPEN)
X_threshold dw 0 ;x speed limit (OPEN)
Deltay dw 0 ;y delta factor (vertical)
Y_ratio dw 0 ;y magnification factor (OPEN)
Y_threshold dw 0 ;y speed limit (OPEN)
Immediate dw ? ;TRUE = wait for input
Enabled dw ? ;TRUE = mouse OK to use
Type dw 0 ;mouse type - see MOUSETYPE
Device dw 0 ;port number MDM, PRT or AUX
Port_name db 5 dup(0);port name
Handle dw 0 ;device handle
Bstate dw 0 ;button state storage
Programmed dw ? ;TRUE = port programmed for Mouse
New_vectors dw ? ;TRUE = RCI vectored in
Trace dw ? ;TRUE = trace mode
Mpkt ends