2 This file is part of the Free Pascal run time library.
4 A file in Amiga system run time library.
5 Copyright (c) 1998 by Nils Sjoholm
6 member of the Amiga RTL development team.
8 See the file COPYING.FPC, included in this distribution,
9 for details about the copyright.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 **********************************************************************}
25 {***** GamePort commands *****}
27 GPD_READEVENT
= CMD_NONSTD
+ 0;
28 GPD_ASKCTYPE
= CMD_NONSTD
+ 1;
29 GPD_SETCTYPE
= CMD_NONSTD
+ 2;
30 GPD_ASKTRIGGER
= CMD_NONSTD
+ 3;
31 GPD_SETTRIGGER
= CMD_NONSTD
+ 4;
33 {***** GamePort structures *****}
44 pGamePortTrigger
= ^tGamePortTrigger
;
45 tGamePortTrigger
= record
46 gpt_Keys
: Word; { key transition triggers }
47 gpt_Timeout
: Word; { time trigger (vertical blank units) }
48 gpt_XDelta
: Word; { X distance trigger }
49 gpt_YDelta
: Word; { Y distance trigger }
55 {***** Controller Types *****}
57 GPCT_ALLOCATED
= -1; { allocated by another user }
58 GPCT_NOCONTROLLER
= 0;
67 GPDERR_SETCTYPE
= 1; { this controller not valid at this time }