a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 gameport.device
  GPD_ASKCTYPE
  GPD_ASKTRIGGER
  GPD_READEVENT
  GPD_SETCTYPE
  GPD_SETTRIGGER
Include
GuruMeditation
Docs » Autodocs » gameport.device » GPD_ASKTRIGGER

NAME

	GPD_ASKTRIGGER -- Inquire the conditions for a game port report

FUNCTION

	This command inquires what conditions must be met by a game
port unit before a pending Read request will be satisfied.
These conditions, called triggers, are independent -- that
any one occurs is sufficient to queue a game port report to
the Read queue. These conditions are set by SetTrigger.
This command always executes immediately.
IO REQUEST
io_Message mn_ReplyPort set if quick I/O is not possible
io_Device preset by the call to OpenDevice
io_Unit preset by the call to OpenDevice
io_Command GPD_ASKTRIGGER
io_Flags IOB_QUICK set if quick I/O is possible
io_Length sizeof(gamePortTrigger)
io_Data a structure of type GamePortTrigger, which
has the following elements
gpt_Keys -
GPTB_DOWNKEYS set if button down transitions
trigger a report, and GPTB_UPKEYS set if button up
transitions trigger a report
gpt_Timeout -
a time which, if exceeded, triggers a report;
measured in vertical blank units (60/sec)
gpt_XDelta -
a distance in x which, if exceeded, triggers a
report
gpt_YDelta -
a distance in x which, if exceeded, triggers a
report

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Paradox

RZR
DJ
TSL
PDX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se