Lines Matching defs:device

22 		BInputDevice *device = (BInputDevice*)list.ItemAt(i);
23 if (device == NULL) {
24 printf("device %ld is NULL\n", i);
28 printf("device %ld %s ", i, device->Name());
29 if (device->Type() == B_POINTING_DEVICE)
31 if (device->Type() == B_KEYBOARD_DEVICE)
33 if (device->Type() == B_UNDEFINED_DEVICE)
37 device = find_input_device(device->Name());
38 if (device == NULL) {
39 printf("device %ld with find_input_device is NULL\n", i);
43 printf("device %ld with find_input_device %s ", i, device->Name());
44 if (device->Type() == B_POINTING_DEVICE)
46 if (device->Type() == B_KEYBOARD_DEVICE)
48 if (device->Type() == B_UNDEFINED_DEVICE)
52 printf(" %s", device->IsRunning() ? "true" : "false");
53 device->Stop();
54 printf(" %s", device->IsRunning() ? "true" : "false");
55 device->Start();
56 printf(" %s", device->IsRunning() ? "true" : "false");
57 device->Stop();
58 printf(" %s", device->IsRunning() ? "true" : "false");
59 device->Start();
60 printf(" %s", device->IsRunning() ? "true" : "false");
74 BInputDevice *device = (BInputDevice*)list.ItemAt(i);
75 printf(" %s", device->IsRunning() ? "true" : "false");
79 BInputDevice *device = (BInputDevice*)list.ItemAt(i);
80 printf(" %s", device->IsRunning() ? "true" : "false");
84 BInputDevice *device = (BInputDevice*)list.ItemAt(i);
85 printf(" %s", device->IsRunning() ? "true" : "false");
89 BInputDevice *device = (BInputDevice*)list.ItemAt(i);
90 printf(" %s", device->IsRunning() ? "true" : "false");
94 BInputDevice *device = (BInputDevice*)list.ItemAt(i);
95 printf(" %s", device->IsRunning() ? "true" : "false");