Atari ST series Technical Reference Manual page 367

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

The Intelligent Keyboard Controller
$14 Set Joystick Event Reporting
T h is c o m m a n d p u t s t h e jo y s t i c k p o r t s i n t o e v e n t r e p o r t i n g m o d e . I n th is
m o d e , e a c h m o v e m e n t o f t h e s tic k o r b u t t o n c a u s e s a j o y s t i c k e v e n t p a c k e t
t o b e s e n t .
Input parameters
N o n e
Packet returned
Byte
Number
Description
1
$ F E - $ F F ( J o y s t i c k e v e n t p a c k e t h e a d e r )
$ F E = J o y s t i c k 0
$ F F = J o y s t i c k 1
2
S t ic k a n d b u t t o n s t a t u s b y t e (B x x x R L D U )
B it 0 =
B it 1 =
B it 2 =
B it 3 =
B it 7 =
1
J o y s t i c k p r e s s e d in u p d i r e c t i o n
1
J o y s t i c k p r e s s e d in d o w n d i r e c t i o n
1
J o y s t i c k p r e s s e d in le f t d i r e c t i o n
1
J o y s t i c k p r e s s e d in r i g h t d i r e c t i o n
1
F i r e b u t t o n p r e s s e d
359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents