proper delays
xcb.c: add key support