]> xenbits.xensource.com Git - xenclient/ioemu-pq.git/commitdiff
Longer intervals between hid-input checks and less chatty
authorroot <root@kiffu-2.uk.xensource.com>
Mon, 3 Aug 2009 14:14:55 +0000 (15:14 +0100)
committerroot <root@kiffu-2.uk.xensource.com>
Mon, 3 Aug 2009 14:14:55 +0000 (15:14 +0100)
master/new-input-code

index 51e505d66b565c9b24952d7396af667a6e505985..aa530ef9780cd1274d95498492adc3c44820b815 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/hid-linux.c b/hid-linux.c
-index f2e0bce..5581479 100644
+index f2e0bce..039a8ab 100644
 --- a/hid-linux.c
 +++ b/hid-linux.c
 @@ -43,11 +43,8 @@
@@ -888,7 +888,7 @@ index f2e0bce..5581479 100644
 -            DEBUG("Add %s %s as a mouse, fd=%d, bus=%d\n", path, name, fd, id.bustype);
 -            controllers = hid_linux_driver.mouse_fds;
 -        }
-+  fprintf (stderr, "hid_linux_scan()\n");
++//  fprintf (stderr, "hid_linux_scan()\n");
  
 -      for ( j = 0; j < (HID_LINUX_MAX_DEV / 2) && controllers[j] != -1; j++)
 -          ;
@@ -949,7 +949,7 @@ index f2e0bce..5581479 100644
 +
 +/* Schedule ourselves */
 +  qemu_mod_timer (linux_hid_driver.scan_timer,
-+                  qemu_get_clock (rt_clock) + 2000);
++                  qemu_get_clock (rt_clock) + 4000);
 +
  }