Lines Matching defs:device
51 path_disable_device(struct evdev_device *device)
53 struct libinput_seat *seat = device->base.seat;
58 if (dev != device)
61 evdev_device_remove(device);
71 struct evdev_device *device;
75 list_for_each_safe(device,
77 path_disable_device(device);
146 "%s: failed to create seat name for device '%s'.\n",
158 "%s: failed to create seat for device '%s'.\n",
178 struct evdev_device *device = NULL;
189 device = evdev_device_create(&seat->base, udev_device);
192 if (device == EVDEV_UNHANDLED_DEVICE) {
193 device = NULL;
195 "%-7s - not using input device '%s'.\n",
199 } else if (device == NULL) {
201 "%-7s - failed to create input device '%s'.\n",
207 evdev_read_calibration_prop(device);
209 device->output_name = safe_strdup(output_name);
212 return device ? &device->base : NULL;
259 struct libinput_device *device;
266 device = path_device_enable(input, udev_device, seat_name);
268 if (!device)
271 return device;
275 path_device_change_seat(struct libinput_device *device,
278 struct libinput *libinput = device->seat->libinput;
279 struct evdev_device *evdev = evdev_device(device);
285 libinput_path_remove_device(device);
347 "udev device never initialized (%s)\n",
365 struct libinput_device *device;
397 device = path_create_device(libinput, udev_device, NULL);
399 return device;
403 libinput_path_remove_device(struct libinput_device *device)
405 struct libinput *libinput = device->seat->libinput;
408 struct evdev_device *evdev = evdev_device(device);
423 seat = device->seat;