VSF Documented
Data Fields
event_t Struct Reference

#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 
 

Field Documentation

◆ device

void* event_t::device

◆ type

enum event_type_t event_t::type

◆ key

uint32_t event_t::key

◆ [struct]

struct { ... } event_t::key_down

◆ [struct]

struct { ... } event_t::key_up

◆ x

int32_t event_t::x

◆ y

int32_t event_t::y

◆ button

uint32_t event_t::button

◆ [struct]

struct { ... } event_t::mouse_down

◆ [struct]

struct { ... } event_t::mouse_move

◆ [struct]

struct { ... } event_t::mouse_up

◆ dx

int32_t event_t::dx

◆ dy

int32_t event_t::dy

◆ [struct]

struct { ... } event_t::mouse_wheel

◆ id

uint32_t event_t::id

◆ [struct]

struct { ... } event_t::touch

◆ [struct]

struct { ... } event_t::touch_begin

◆ [struct]

struct { ... } event_t::touch_move

◆ [struct]

struct { ... } event_t::touch_end

◆ [union]

union { ... } event_t::e