JOYDEV_BUFFER_SIZE
client->head &= JOYDEV_BUFFER_SIZE - 1;
client->tail &= JOYDEV_BUFFER_SIZE - 1;
struct js_event buffer[JOYDEV_BUFFER_SIZE];