Ignore:
Timestamp:
Jan 5, 2004, 7:17:20 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + caca_get_event() and caca_wait_event() now accept a mask as an argument

in order to select events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/demo.c

    r287 r316  
    7575        int event;
    7676
    77         while((event = caca_get_event()))
     77        while((event = caca_get_event(CACA_EVENT_ANY)))
    7878        {
    7979            if(demo && (event & CACA_EVENT_KEY_PRESS))
Note: See TracChangeset for help on using the changeset viewer.