|
VSF Documented
|
#include <window.h>
Data Fields | ||
| void * | device | |
| enum event_type_t | type | |
| union { | ||
| struct { | ||
| uint32_t key | ||
| } key_down | ||
| struct { | ||
| uint32_t key | ||
| } key_up | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t button | ||
| } mouse_down | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| } mouse_move | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t button | ||
| } mouse_up | ||
| struct { | ||
| int32_t dx | ||
| int32_t dy | ||
| } mouse_wheel | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t id | ||
| } touch | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t id | ||
| } touch_begin | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t id | ||
| } touch_move | ||
| struct { | ||
| int32_t x | ||
| int32_t y | ||
| uint32_t id | ||
| } touch_end | ||
| } | e | |
| void* event_t::device |
| enum event_type_t event_t::type |
| uint32_t event_t::key |
| struct { ... } event_t::key_down |
| struct { ... } event_t::key_up |
| int32_t event_t::x |
| int32_t event_t::y |
| uint32_t event_t::button |
| struct { ... } event_t::mouse_down |
| struct { ... } event_t::mouse_move |
| struct { ... } event_t::mouse_up |
| int32_t event_t::dx |
| int32_t event_t::dy |
| struct { ... } event_t::mouse_wheel |
| uint32_t event_t::id |
| struct { ... } event_t::touch |
| struct { ... } event_t::touch_begin |
| struct { ... } event_t::touch_move |
| struct { ... } event_t::touch_end |
| union { ... } event_t::e |