Ignore:
Timestamp:
Jan 8, 2004, 7:40:29 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • test/event.c: + Display at least two digits for keycodes.
  • configure.ac: + ScreenUpdate? is actually mandatory for our conio driver.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/event.c

    r329 r330  
    9292        break;
    9393    case CACA_EVENT_KEY_PRESS:
    94         caca_printf(x, y, "CACA_EVENT_KEY_PRESS 0x%x",
     94        caca_printf(x, y, "CACA_EVENT_KEY_PRESS 0x%02x",
    9595                    event & 0x00ffffff);
    9696        break;
    9797    case CACA_EVENT_KEY_RELEASE:
    98         caca_printf(x, y, "CACA_EVENT_KEY_RELEASE 0x%x",
     98        caca_printf(x, y, "CACA_EVENT_KEY_RELEASE 0x2%x",
    9999                    event & 0x00ffffff);
    100100        break;
Note: See TracChangeset for help on using the changeset viewer.