Lines Matching defs:device
204 uintptr_t device, last_device;
457 if (w->evdev.device == 0)
460 /* device has changed, so the abs proportions/dimensions have
462 if (w->evdev.device != w->evdev.last_device) {
469 if ((uintptr_t)d->libinput_device != w->evdev.device)
474 w->evdev.last_device = w->evdev.device;
1213 *device = NULL;
1219 device = d;
1224 if (device == NULL) {
1225 msg("Unknown device: %s\n", libinput_device_get_name(dev));
1230 rc = libevdev_next_event(device->evdev,
1254 w->evdev.device = (uintptr_t)dev;
1258 w->evdev.device = (uintptr_t)dev;
1262 w->evdev.device = (uintptr_t)dev;
1266 w->evdev.device = (uintptr_t)dev;
1270 w->evdev.device = (uintptr_t)dev;
1274 w->evdev.device = (uintptr_t)dev;
1374 ARRAY_FOR_EACH(w->devices, device) {
1375 if (*device == NULL) {
1376 *device = libinput_device_ref(dev);
1381 ARRAY_FOR_EACH(w->devices, device) {
1382 if (*device == dev) {
1383 libinput_device_unref(*device);
1384 *device = NULL;
1854 printf("Usage: libinput debug-gui [options] [--udev <seat>|[--device] /dev/input/event0]\n");
1902 { "device", required_argument, 0, OPT_DEVICE },