a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 keyboard.device
  CMD_CLEAR
  KBD_ADDRESETHANDLER
  KBD_READEVENT
  KBD_READMATRIX
  KBD_REMRESETHANDLER
  KBD_RESETHANDLERDONE
Include
GuruMeditation
Docs » Autodocs » keyboard.device » KBD_ADDRESETHANDLER

NAME

	KBD_ADDRESETHANDLER -- Add a keyboard reset handler.

FUNCTION

	Add a function to the list of functions called to clean up
before a hard reset generated at the keyboard. The reset
handler is called as:
ResetHandler(handlerData)
a1
IO REQUEST
io_Message mn_ReplyPort set
io_Device preset by OpenDevice
io_Unit preset by OpenDevice
io_Command KBD_ADDRESETHANDLER
io_Data a pointer to an interrupt structure.
is_Data the handlerData pointer described above
is_Code the Handler function address

NOTES

	Few of the Amiga keyboard models generate the communication codes
used to implement this reset processing. Specifically, only the
Euro a1000 (rare), and the B2000 keyboard generate them.
The interrupt structure is kept by the keyboard device until a
RemResetHandler command is satisfied for it, but the
KBD_ADDRESETHANDLER command itself is replied immediately.

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:

Razor 1911

RZR
CSL
PDX
RSI

Comments:

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