APTR AddKBInt( APTR intRoutine, APTR intData );
register a callback that is called whenever a keyboard input event occurs.
intRoutine - the routine to invoke every vblank. This routine should be as short as possible to minimize its effect on overall system performance. intData - data passed to the routine in register A1. If more than one long word of data is required this should be a pointer to a structure that contains the required data.
APTR AddTimerInt( APTR intRoutine, APTR intData );
Add a callback function that should be executed every time the timer interrupt triggers. The timer will be allocated, but not configured or enabled - StartIntTimer() must be called to initalize the correct paramaters.
intRoutine -- the callback function to invoke each vertical blank intData -- data passed to the callback function
A handle used to manipulate the interrupt or NULL if the call failed.
This function is unimplemented.
APTR AddVBlankInt( APTR intRoutine, APTR intData );
Add a callback function that should be executed every vertical blank. If your program can exit without rebooting the machine, RemVBlankInt() has to be called prior to exiting. Only one interrupt routine may be added; always check the return value of this function in case some other program already has used this function.
intRoutine -- the callback function to invoke each vertical blank intData -- data passed to the callback function
A handle used to manipulate the interrupt or NULL if the call failed.
ULONG ElapsedTime( struct EClockVal * context );
This function is unimplemented.
ULONG GetKey();
returns the currently pressed 'qualifier' and 'key' combination.
none
0xFF if no key is pressed otherwise it returns the actual key in the low word, and qualifier in the high word -: 'qualifier' key equivalent LLKB_LSHIFT Left Shift LLKB_RSHIFT Rigt Shift LLKB_CAPSLOCK Caps Lock LLKB_CONTROL Control LLKB_LALT Left Alt LLKB_RALT Right Alt LLKB_LAMIGA Left Amiga LLKB_RAMIGA Right Amiga
ULONG GetLanguageSelection();
VOID QueryKeys( struct KeyQuery * queryArray, UBYTE arraySize );
This function is unimplemented.
ULONG ReadJoyPort( ULONG port );
This function isn't implemented on all platforms.
VOID RemKBInt( APTR intHandle );
remove a keyboard interrupt previously registerd with addkbint.
VOID RemTimerInt( APTR intHandle );
This function is unimplemented.
VOID RemVBlankInt( APTR intHandle );
Remove a vertical blank interrupt routine previously added by a call to AddVBlankInt().
intHandle -- return value from AddVBlankInt(); may be NULL in which case this function is a no-op.
BOOL SetJoyPortAttrsA( ULONG portNumber, struct TagItem * tagList ); BOOL SetJoyPortAttrs( ULONG portNumber, TAG tag, ... );
VOID StartTimerInt( APTR intHandle, ULONG timeInterval, BOOL continuous );
This function is unimplemented.
VOID StopTimerInt( APTR intHandle );
This function is unimplemented.
ULONG SystemControlA( struct TagItem * tags ); ULONG SystemControl( TAG tag, ... );
This functions implementation is incomplete.