a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 console.device
  CDInputHandler
  CD_ASKDEFAULTKEYMAP
  CD_ASKKEYMAP
  CD_SETDEFAULTKEYMAP
  CD_SETKEYMAP
  CMD_CLEAR
  CMD_READ
  CMD_WRITE
  OpenDevice
  RawKeyConvert
Include
GuruMeditation
Docs » Autodocs » console.device » CDInputHandler

NAME

	CDInputHandler -- handle an input event for the console device

SYNOPSIS

	events = CDInputHandler(events, consoleDevice)
a0 a1

FUNCTION

	Accept input events from the producer, which is usually the
rom input.task.

INPUTS

	events - a pointer to a list of input events.
consoleDevice - a pointer to the library base address of the
console device. This has the same value as ConsoleDevice
described below.

RESULT

	events - a pointer to a list of input events not used by this
handler.

NOTES

	This function is available for historical reasons.  It is
preferred that input events be fed to the system via the
WriteEvent command of the input.device.
This function is different from standard device commands in
that it is a function in the console device library vectors.
In order to obtain a valid library base pointer for the
console device (a.k.a. ConsoleDevice) call
OpenDevice("console.device", -1, IOStdReq, 0),
and then grab the io_Device pointer field out of the IOStdReq
and use as ConsoleDevice.

BUGS

SEE ALSO

input.device()

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:

The Black Lotus

RBS
PDX
TBL
SNT

Comments:

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