]> diplodocus.org Git - xorg-xinput/commitdiff
Don't require extension devices for button mapping.
authorPeter Hutterer <peter.hutterer@redhat.com>
Thu, 7 Aug 2008 08:22:08 +0000 (17:52 +0930)
committerPeter Hutterer <peter.hutterer@redhat.com>
Thu, 7 Aug 2008 08:22:28 +0000 (17:52 +0930)
VCK and VCP can be opened too now.

src/buttonmap.c

index 21669e394209fcc80bb15eb159be5c01e44e1b78..06f271bbc71021e1389281a167a4b38286d20971 100644 (file)
@@ -41,7 +41,7 @@ set_button_map(Display        *display,
        return EXIT_FAILURE;
     }
 
        return EXIT_FAILURE;
     }
 
-    info = find_device_info(display, argv[0], True);
+    info = find_device_info(display, argv[0], False);
 
     if (!info) {
        fprintf(stderr, "unable to find device %s\n", argv[0]);
 
     if (!info) {
        fprintf(stderr, "unable to find device %s\n", argv[0]);