1 --- get_device.c 2007-03-26 13:51:31.000000000 +0200
2 +++ get_device.c 2008-06-22 13:16:13.000000000 +0200
4 xdevice_list = XListInputDevices(display, &nr_devices);
6 for(i = 0; i < nr_devices; i++) {
7 - if (xdevice_list[i].use == IsXExtensionDevice) {
8 + if (xdevice_list[i].use == IsXExtensionDevice ||
9 + xdevice_list[i].use == IsXExtensionPointer || xdevice_list[i].use == IsXExtensionKeyboard) {
10 len = strlen(xdevice_list[i].name);
11 snprintf(read_buffer, MAXBUFFER, "%s", xdevice_list[i]