From 5994d47ab4976e2ef63da6d282e627b9fd3207bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 8 Mar 2009 01:01:06 +0000 Subject: [PATCH] Since there are problems with VMWare, ioctl()ing at fixed intervals seems like the better idea after all. The snoozing won't add an additional delay, if the polling was already slow. Have not tested in VMWare myself, as I don't have a working installation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29436 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp b/src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp index ca55ce11f7..6ae9dc2dbd 100644 --- a/src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp +++ b/src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp @@ -375,7 +375,7 @@ MouseDevice::_ControlThread() static const bigtime_t kTransferDelay = 1000000 / 125; // 125 transfers per second should be more than enough -#define USE_REGULAR_INTERVAL 0 +#define USE_REGULAR_INTERVAL 1 #if USE_REGULAR_INTERVAL bigtime_t nextTransferTime = system_time() + kTransferDelay; #endif