;########################## ;# Example 1.3 - Joystick # ;########################## ;By Steven Matty  ;This program will print up joystick movements for specified joystick ;ports (1=Joystick 1, 2=Mouse Port, 3=4-Player(Port1) 4=4-Player(Port2) ;To quit, press the fire button on all specified joysticks  Ý‚ "Enter DECIMAL value For joysticks To test (15=All)" bitpattern.b=Ý(15,4) €»   € n=1 € 4     € bitpattern €Í (n-1)       €  (n) €! Ý‚ "Player ",n," pressed fire!"       €  (n)=-1 €! Ý‚ "Player ",n," pressed left!"       €  (n)=1 €! Ý‚ "Player ",n," pressed right!"       €  (n)=-1 €! Ý‚ "Player ",n," pressed up!"       €  (n)=1 €! Ý‚ "Player ",n," pressed down!"     € €   € n €¼  	(bitpattern)=bitpattern  ; Until JFire(1) and JFire(2) = PRESSED! € 