Atmel Software Framework

win_event Struct Reference

Event data for all events.

#include <win.h>

Data Fields

union {
   struct win_command_event   command
 Details for command events. More...
 
   struct win_keyboard_event   keyboard
 Details for keyboard events. More...
 
   struct win_pointer_event   pointer
 Details for pointer events. More...
 
}; 
 
clock_jiffy_t timestamp
 Timestamp set when event was queued. More...
 
enum win_event_type type
 Type of this event. More...
 

union { ... }
struct win_command_event win_event::command

Details for command events.

Referenced by win_queue_command_event().

struct win_keyboard_event win_event::keyboard

Details for keyboard events.

Referenced by win_queue_keyboard_event().

struct win_pointer_event win_event::pointer

Details for pointer events.

Referenced by win_queue_pointer_event().

clock_jiffy_t win_event::timestamp

Timestamp set when event was queued.

Referenced by win_queue_event().

enum win_event_type win_event::type