23 #include <eq/client/api.h>
24 #include <eq/client/statistic.h>
25 #include <eq/client/types.h>
26 #include <eq/fabric/renderContext.h>
90 PTR_BUTTON_NONE = LB_BIT_NONE,
91 PTR_BUTTON1 = LB_BIT1,
92 PTR_BUTTON2 = LB_BIT2,
93 PTR_BUTTON3 = LB_BIT3,
94 PTR_BUTTON4 = LB_BIT4,
95 PTR_BUTTON5 = LB_BIT5,
96 PTR_BUTTON6 = LB_BIT6,
150 # define EQ_USER_EVENT_SIZE 128
159 char data[ EQ_USER_EVENT_SIZE ];
185 #ifdef EQ_USE_DEPRECATED
188 POINTER_BUTTON_PRESS,
190 POINTER_BUTTON_RELEASE,
192 CHANNEL_POINTER_MOTION = POINTER_MOTION,
201 CHANNEL_POINTER_MOTION,
212 WINDOW_POINTER_MOTION,
300 template<>
inline void byteswap(
eq::Event& value )
302 byteswap( value.
type );
304 byteswap( value.
time );
int32_t x
new X position, relative to parent
SpaceMouse button data in magellan.
Event structure to report window system and other events.
A window screensaver request (Win32 only)
int32_t dx
X position change since last event.
Event for a SpaceMouse movement or click.
int32_t y
new Y position, relative to parent
UserEvent user
User-defined event data.
Event()
Construct a new event.
Event for a pointer (mouse) motion or click.
A window has been closed.
int32_t xAxis
x wheel rotation
int32_t yAxis
y wheel rotation
Window resize data in resize.
int64_t time
The config time when the event was created.
float dw
view only: new width relative to initial width
Window pointer Mouse wheel data in wheel.
uint32_t button
fired button
Type
The type of the event.
int16_t yRotation
Y rotation.
int32_t dy
Y position change since last event.
float dh
view only: new height relative to initial height
View resize data in resize.
RenderContext context
The last rendering context for the pointer position.
std::ostream & operator<<(std::ostream &os, const ConfigEvent *event)
Print the config event to the given output stream.
int32_t x
X position relative to entity.
ResizeEvent resize
Resize event data.
Event for a size or position change on a Window, Channel or View.
uint128_t originator
The identifier of the entity emitting the event.
Key press data in keyPress.
Statistic statistic
Statistic event.
int16_t xRotation
X rotation.
Key release data in keyRelease.
Statistic event in statistic.
PointerEvent pointer
Pointer event data.
PointerEvent pointerButtonPress
Mouse button press data.
uint32_t buttons
current state of all buttons
PointerEvent pointerWheel
Mouse wheel motion data.
Window pointer button press data in pointerButtonPress.
ResizeEvent show
Window show event data.
uint32_t buttons
current state of all buttons
Window pointer to be released by system window.
int16_t xAxis
X translation.
Window pointer grabbed by system window.
KeyEvent key
Key event data.
Channel pointer button press data in pointerButtonPress.
uint32_t type
The event type.
Event type not known by the event handler.
int16_t zAxis
Z translation.
KeyEvent keyPress
Key press event data.
User-defined events have to be of this type or higher.
KeyEvent keyRelease
Key release event data.
Exit request due to runtime error.
MagellanEvent magellan
SpaceMouse data.
uint32_t button
fired button
Channel resize data in resize.
Channel pointer button release data in pointerButtonRelease.
PointerEvent pointerMotion
Pointer motion data.
KeyCode
Yet another key code table to report keys in a window system independent way.
SpaceMouse movement data in magellan.
PointerEvent pointerButtonRelease
Mouse button release data.
Window pointer button release data in pointerButtonRelease.
int16_t zRotation
Z rotation.
int32_t y
Y position relative to entity (0 is on top)
int16_t yAxis
Y translation.
Observer moved (head tracking update).
Event for a key press or release.
uint32_t key
KeyCode for special keys, ascii code otherwise.
Window pointer movement data in pointerMotion.
uint32_t serial
server-unique originator serial number
PointerButton
Mouse pointer button definition.
ResizeEvent hide
Window hide event data.