(C) 1998 AROS - The Amiga Research OS


NAME
#include <>
#include <libraries/commodities.h>
#include <exec/libraries.h>
#include <proto/exec.h>

VOID SetTranslate (translator , events )

LOCATION
In CxBase at offset 19

SYNOPSIS
CxObj * translator
struct InputEvent * events

FUNCTION
Set translation (a list of input events) for a commodity translator object.

INPUTS
translator
- the commodity translator the translation result of which to set (may be NULL)
events
- the new input event list

RESULT

EXAMPLE

SEE ALSO
cx_lib/ CxTranslate(), <devices/inputevent.h>

NOTES
If events is set to NULL, all commodity messages passed to the object are swallowed. Neither commodities.library nor any other commodities user will change your list of InputEvents; however, it will be used asynchronously to the application program which means you shouldn't in any way corrupt the chain.

BUGS

INTERNALS

HISTORY
18.07.1999 SDuvan
Finally -- commodities.library