event.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef event_H_INCLUDED
  2. #define event_H_INCLUDED
  3. #include "eruta.h"
  4. ALLEGRO_EVENT * event_alloc(void);
  5. ALLEGRO_EVENT * event_free (ALLEGRO_EVENT * self );
  6. unsigned int event_type (Event * self );
  7. double event_timestamp (Event * self );
  8. int event_ismouse (Event * self );
  9. int event_isdisplay (Event * self );
  10. int event_isjoystick (Event * self );
  11. int event_iskeyboard (Event * self );
  12. int event_istimer (Event * self );
  13. int event_x (Event * self );
  14. int event_y (Event * self );
  15. int event_width (Event * self );
  16. int event_height (Event * self );
  17. int event_orientation (Event * self );
  18. int event_stick (Event * self );
  19. int event_axis (Event * self );
  20. float event_pos (Event * self );
  21. int event_button (Event * self );
  22. int event_keycode (Event * self );
  23. int event_unichar (Event * self );
  24. int event_modifiers (Event * self );
  25. int event_repeat (Event * self );
  26. int event_z (Event * self );
  27. int event_w (Event * self );
  28. int event_dx (Event * self );
  29. int event_dy (Event * self );
  30. int event_dz (Event * self );
  31. int event_dw (Event * self );
  32. float event_pressure (Event * self );
  33. int64_t event_count (Event * self );
  34. double event_error (Event * self );
  35. #endif