void hw_PostSatelliteEvent(APTR handle, int type, APTR typedata);
HWSATEVT_MOUSEMOVE:struct hwSatelliteEventMouse in typedata. The structure
looks like this:
struct hwSatelliteEventMouse
{
int MouseX;
int MouseY;
int ButtonDown;
};
|
The following members need to be initialized for HWSATEVT_MOUSEMOVE:
MouseX:
MouseY:
HWSATEVT_LEFTMOUSE:struct hwSatelliteEventMouse
in typedata. The structure looks like this:
struct hwSatelliteEventMouse
{
int MouseX;
int MouseY;
int ButtonDown;
};
|
The following members need to be initialized for HWSATEVT_LEFTMOUSE:
MouseX:
MouseY:
ButtonDown:True or False depending on whether the left mouse button is down
or not.
HWSATEVT_RIGHTMOUSE:struct hwSatelliteEventMouse
in typedata. The structure looks like this:
struct hwSatelliteEventMouse
{
int MouseX;
int MouseY;
int ButtonDown;
};
|
The following members need to be initialized for HWSATEVT_RIGHTMOUSE:
MouseX:
MouseY:
ButtonDown:True or False depending on whether the right mouse button is down
or not.
HWSATEVT_MIDMOUSE:struct hwSatelliteEventMouse
in typedata. The structure looks like this:
struct hwSatelliteEventMouse
{
int MouseX;
int MouseY;
int ButtonDown;
};
|
The following members need to be initialized for HWSATEVT_MIDMOUSE:
MouseX:
MouseY:
ButtonDown:True or False depending on whether the middle mouse button is down
or not.
HWSATEVT_MOUSEWHEEL:struct hwSatelliteEventMouse in typedata. The structure
looks like this:
struct hwSatelliteEventMouse
{
int MouseX;
int MouseY;
int ButtonDown;
};
|
The following members need to be initialized for HWSATEVT_LEFTMOUSE:
MouseX:
MouseY:
ButtonDown:True if the wheel has been spinned downwards or False if it has
been spinned in upwards direction.
HWSATEVT_KEYBOARD:struct hwSatelliteEventKeyboard in typedata. The structure looks like this:
struct hwSatelliteEventKeyboard
{
int KeyID;
int KeyDown;
ULONG Qualifiers;
};
|
The individual structure members need to be initialized like this:
KeyID:
HWKEY_CURSOR_UP HWKEY_CURSOR_DOWN HWKEY_CURSOR_RIGHT HWKEY_CURSOR_LEFT HWKEY_HELP HWKEY_F1 HWKEY_F2 HWKEY_F3 HWKEY_F4 HWKEY_F5 HWKEY_F6 HWKEY_F7 HWKEY_F8 HWKEY_F9 HWKEY_F10 HWKEY_F11 HWKEY_F12 HWKEY_F13 HWKEY_F14 HWKEY_F15 HWKEY_F16 HWKEY_BACKSPACE HWKEY_TAB HWKEY_ENTER HWKEY_RETURN HWKEY_ESC HWKEY_SPACE HWKEY_DEL HWKEY_INSERT HWKEY_HOME HWKEY_END HWKEY_PAGEUP HWKEY_PAGEDOWN HWKEY_PRINT HWKEY_PAUSE |
KeyDown:True or False indicating whether the specified
key is currently pressed.
Qualifiers:HWKEY_QUAL_MASK must always be set.
Note that HWSATEVT_KEYBOARD can only be used for ISO 8859-1 characters and control
keys. To post a Unicode key to the satellite's root display, use HWSATEVT_VANILLAKEY
instead (see below for details).
HWSATEVT_RAWKEY:struct hwSatelliteEventKeyboard in typedata. The structure looks like this:
struct hwSatelliteEventKeyboard
{
int KeyID;
int KeyDown;
ULONG Qualifiers;
};
|
The individual structure members need to be initialized like this:
KeyID:HWKEY_XXX keys listed above in HWSATEVT_KEYBOARD, the ASCII codes A-Z and 0-9 or
one of the following special raw keys:
HWKEY_NP0 HWKEY_NP1 HWKEY_NP2 HWKEY_NP3 HWKEY_NP4 HWKEY_NP5 HWKEY_NP6 HWKEY_NP7 HWKEY_NP8 HWKEY_NP9 HWKEY_NPMUL HWKEY_NPADD HWKEY_NPSUB HWKEY_NPDEC HWKEY_NPDIV HWKEY_LSHIFT HWKEY_RSHIFT HWKEY_LALT HWKEY_RALT HWKEY_LCOMMAND HWKEY_RCOMMAND HWKEY_LCONTROL HWKEY_RCONTROL |
KeyDown:True or False indicating whether the specified
key is currently pressed.
Qualifiers:HWKEY_QUAL_MASK must always be set.
(V7.1)
HWSATEVT_VANILLAKEY:HWSATEVT_KEYBOARD,
HWSATEVT_VANILLAKEY must only be used to post printable characters (including the space character).
It must not be used for control keys. These should be posted as HWSATEVT_KEYBOARD events only
(see above for details). In contrast to HWSATEVT_KEYBOARD, HWSATEVT_VANILLAKEY supports the
full Unicode character range. You need to pass a pointer to a struct hwSatelliteEventKeyboard
in typedata. The structure looks like this:
struct hwSatelliteEventKeyboard
{
int KeyID;
int KeyDown;
ULONG Qualifiers;
};
|
The individual structure members need to be initialized like this:
KeyID:
KeyDown:HWSATEVT_VANILLAKEY.
Qualifiers:HWSATEVT_VANILLAKEY.
(V7.0)
HWSATEVT_DROPFILE:struct hwSatelliteEventDropFile in
typedata. The structure looks like this:
struct hwSatelliteEventDropFile
{
int MouseX;
int MouseY;
STRPTR DropFiles;
};
|
The individual structure members need to be initialized like this:
MouseX:
MouseY:
DropFiles:NULL terminator byte whereas the complete list is terminated by two NULL terminator bytes
to signal the list end to Hollywood.
(V7.0)
See hw_AttachDisplaySatellite for more information on display satellites.