a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 input.device
  IND_ADDHANDLER
  IND_REMHANDLER
  IND_SETMPORT
  IND_SETMTRIG
  IND_SETMTYPE
  IND_SETPERIOD
  IND_SETTHRESH
  IND_WRITEEVENT
  PeekQualifier
Include
GuruMeditation
Docs » Autodocs » input.device » IND_ADDHANDLER

NAME

	IND_ADDHANDLER -- Add an input handler to the device

FUNCTION

	Add a function to the list of functions called to handle
input events generated by this device. The function is called
as
newInputEvents = Handler(inputEvents, handlerData);
D0 A0 A1
IO REQUEST
io_Message mn_ReplyPort set
io_Device preset by OpenDevice
io_Unit preset by OpenDevice
io_Command IND_ADDHANDLER
io_Data a pointer to an interrupt structure.
is_Data the handlerData pointer described above
is_Code the Handler function address

NOTES

	The interrupt structure is kept by the input device until a
RemHandler command is satisfied for it.

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:

Defjam

TSL
RZR
DJ
RBS

Comments:

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