disabled polling keybaord and mouse, as this seems to have strange probelems on some hardware (but works for me)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16925 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2006-03-29 22:32:59 +00:00
parent 7b6eb67f23
commit 967c2eaf15
@@ -23,6 +23,8 @@ static packet_buffer * sServiceCmdBuffer;
#define PS2_SERVICE_INTERVAL 1000000
#endif
//#define PS2_PERIODIC_SERVICE
typedef struct
{
@@ -143,7 +145,11 @@ ps2_service_thread(void *arg)
for (;;) {
status_t status;
status = acquire_sem_etc(sServiceSem, 1, B_RELATIVE_TIMEOUT, PS2_SERVICE_INTERVAL);
#ifdef PS2_PERIODIC_SERVICE
status = acquire_sem_etc(sServiceSem, 1, B_CAN_INTERRUPT | B_RELATIVE_TIMEOUT, PS2_SERVICE_INTERVAL);
#else
status = acquire_sem_etc(sServiceSem, 1, B_CAN_INTERRUPT, 0);
#endif
if (sServiceTerminate)
break;
if (status == B_OK) {