Atari ST series Technical Reference Manual page 357

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

The Intelligent Keyboard Controller
$0A Set Mouse Keycode Mode
T h is c o m m a n d p u t s t h e m o u s e in t o k e y c o d e m o d e . I n th is m o d e , t h e I K B D
s e n d s c u r s o r a r r o w k e y c o d e s w h e n e v e r t h e m o u s e is m o v e d m o r e t h a n th e
t h r e s h o l d d i s t a n c e in t h e
m e d i a t e l y b y t h e b r e a k c o d e . T h e m o u s e b u t t o n s a r e a l s o t r e a t e d lik e k e y ­
b o a r d k e y s . T h e le f t b u t t o n g e n e r a t e s a k e y c o d e o f $ 7 4 , a n d t h e r i g h t b u t ­
to n g e n e r a t e s a k e y c o d e o f $ 7 5 .
Input parameters
Byte
Number
Description
1
H o r i z o n t a l d i s t a n c e (in m o u s e u n i t s ) t h a t m u s t b e t r a v e l e d b e f o r e
th e c u r s o r le f t o r c u r s o r r i g h t c o d e is s e n t .
2
V e r tic a l d i s t a n c e (in m o u s e u n i t s ) t h a t m u s t b e t r a v e l e d b e f o r e
th e c u r s o r u p o r c u r s o r d o w n c o d e is s e n t .
x
y
o r
d i r e c t i o n . T h e m a k e c o d e is f o llo w e d i m ­
349

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents