Lines Matching defs:fakeList
42 static std::vector<GdkDeviceFake> fakeList;
47 for (std::vector<GdkDeviceFake>::iterator it = fakeList.begin(); it != fakeList.end() && valid; ++it) {
338 if (fakeList.empty()) {
341 //devList = fakeList;
640 if (fakeList.empty()) {
641 fakeList.resize(5);
642 fakeList[0].name = "pad";
643 fakeList[0].source = Gdk::SOURCE_PEN;
644 fakeList[0].mode = Gdk::MODE_SCREEN;
645 fakeList[0].has_cursor = true;
646 fakeList[0].num_axes = 6;
647 fakeList[0].num_keys = 8;
649 fakeList[1].name = "eraser";
650 fakeList[1].source = Gdk::SOURCE_ERASER;
651 fakeList[1].mode = Gdk::MODE_SCREEN;
652 fakeList[1].has_cursor = true;
653 fakeList[1].num_axes = 6;
654 fakeList[1].num_keys = 7;
656 fakeList[2].name = "cursor";
657 fakeList[2].source = Gdk::SOURCE_CURSOR;
658 fakeList[2].mode = Gdk::MODE_SCREEN;
659 fakeList[2].has_cursor = true;
660 fakeList[2].num_axes = 6;
661 fakeList[2].num_keys = 7;
663 fakeList[3].name = "stylus";
664 fakeList[3].source = Gdk::SOURCE_PEN;
665 fakeList[3].mode = Gdk::MODE_SCREEN;
666 fakeList[3].has_cursor = true;
667 fakeList[3].num_axes = 6;
668 fakeList[3].num_keys = 7;
689 fakeList[4].name = device->get_name();
690 fakeList[4].source = device->get_source();
691 fakeList[4].mode = device->get_mode();
692 fakeList[4].has_cursor = device->get_has_cursor();
693 fakeList[4].num_axes = device->get_n_axes();
695 fakeList[4].num_keys = device->get_n_keys();
697 fakeList[4].num_keys = gdk_device_get_n_keys(device->gobj());
700 fakeList[4].name = "Core Pointer";
701 fakeList[4].source = Gdk::SOURCE_MOUSE;
702 fakeList[4].mode = Gdk::MODE_SCREEN;
703 fakeList[4].has_cursor = true;
704 fakeList[4].num_axes = 2;
705 fakeList[4].num_keys = 0;