Atari ST series Technical Reference Manual page 360

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

$0D Interrogate Mouse Position
T h is f u n c t i o n is u s e d t o r e a d t h e m o u s e p o s i t i o n w h e n in a b s o l u t e p o s i tio n
m o d e . T h e o n l y o t h e r w a y t o g e t t h e m o u s e p o s i t i o n f r o m t h a t m o d e is to
s e t t h e m o u s e b u t t o n s to r e p o r t o n a p r e s s o r r e l e a s e , u s i n g c o m m a n d $ 0 7 .
Input parameters
N o n e
Packet returned
Byte
Number
Description
1
$ F 7 ( m o u s e a b s o l u t e p o s i t i o n p a c k e t h e a d e r )
2
B u t t o n c h a n g e s t a t u s :
B it 0 =
B it 1 =
B it 2 =
B it 3 =
3
H i g h b y t e o f h o r i z o n t a l p o s i t i o n
4
L o w b y t e o f h o r i z o n t a l p o s i t i o n
5
H i g h b y t e o f v e r t i c a l p o s i t i o n
7
L o w b y t e o f v e r t i c a l p o s i t i o n
352
APPENDIX I
1
R i g h t b u t t o n p r e s s e d s i n c e l a s t r e a d
1
R i g h t b u t t o n r e l e a s e d s i n c e l a s t r e a d
1
L e f t b u t t o n p r e s s e d s in c e l a s t r e a d
1
L e f t b u t t o n r e l e a s e d s i n c e l a s t r e a d

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents