•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FilePADX(i)
PADY(i)
PADT(i)

i: iexp

These functions are available for reading the STE's paddle controllers.
Parameter 'i' can be 0 or 1 for the two supported paddles.

PADX(i) returns the x-position of the paddle.

PADY(i) returns the y-position of the paddle.

PADT(i) returns the status of the paddle buttons.
        FALSE (0)  -> not pressed
        TRUE  (-1) -> pressed

Memo: Incorrectly detected on some machines based on the '_SND' cookie.
      PADT() contains a bug in the library.