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,
311 template<>
inline void byteswap(
eq::Event& value )
313 byteswap( value.
type );
315 byteswap( value.
time );
int32_t xAxis
x wheel rotation
float dh
view only: new height relative to initial height
UserEvent user
User-defined event data.
KeyEvent key
Key event data.
Channel pointer button release data in pointerButtonRelease.
Observer moved (head tracking update).
ResizeEvent hide
Window hide event data.
PointerEvent pointerMotion
Pointer motion data.
Window pointer movement data in pointerMotion.
int32_t dy
Y position change since last event.
Channel resize data in resize.
ResizeEvent show
Window show event data.
PointerEvent pointer
Pointer event data.
EQ_API std::ostream & operator<<(std::ostream &os, const ConfigEvent *event)
Print the config event to the given output stream.
int32_t x
new X position, relative to parent
int32_t x
X position relative to entity.
Window pointer button press data in pointerButtonPress.
Statistic statistic
Statistic event.
PointerEvent pointerButtonRelease
Mouse button release data.
int16_t zAxis
Z translation.
int32_t dx
X position change since last event.
int16_t xAxis
X translation.
SpaceMouse button data in magellan.
Event type not known by the event handler.
int32_t yAxis
y wheel rotation
int32_t y
new Y position, relative to parent
Channel pointer button press data in pointerButtonPress.
PointerEvent pointerButtonPress
Mouse button press data.
int32_t y
Y position relative to entity (0 is on top)
uint32_t key
KeyCode for special keys, ascii code otherwise.
SpaceMouse movement data in magellan.
uint32_t buttons
current state of all buttons
KeyEvent keyPress
Key press event data.
Type
The type of the event.
ResizeEvent resize
Resize event data.
Exit request due to runtime error.
Event for a SpaceMouse movement or click.
uint32_t type
The event type.
int16_t xRotation
X rotation.
RenderContext context
The last rendering context for the pointer position.
Key press data in keyPress.
Key release data in keyRelease.
uint128_t originator
The identifier of the entity emitting the event.
EQ_API Event()
Construct a new event.
Window pointer Mouse wheel data in wheel.
Event for a size or position change on a Window, Channel or View.
int16_t yAxis
Y translation.
uint32_t button
fired button
User-defined events have to be of this type or higher.
MagellanEvent magellan
SpaceMouse data.
A window screensaver request (Win32 only)
uint32_t serial
server-unique originator serial number
int16_t yRotation
Y rotation.
KeyCode
Yet another key code table to report keys in a window system independent way.
float dw
view only: new width relative to initial width
Window resize data in resize.
Event for a key press or release.
PointerEvent pointerWheel
Mouse wheel motion data.
KeyEvent keyRelease
Key release event data.
uint32_t buttons
current state of all buttons
Event structure to report window system and other events.
View resize data in resize.
Event for a pointer (mouse) motion or click.
Statistic event in statistic.
A window has been closed.
Window pointer grabbed by system window.
uint32_t button
fired button
int64_t time
The config time when the event was created.
PointerButton
Mouse pointer button definition.
Window pointer to be released by system window.
Window pointer button release data in pointerButtonRelease.
int16_t zRotation
Z rotation.