Fixed mouse clamping

This commit is contained in:
Elias Naur 2003-03-23 20:08:49 +00:00
parent 95075c3492
commit 5ac3ea26e8
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ void EnumerateMouseCapabilities() {
//check for > 4 buttons - need to clamp since we're using dx 5 //check for > 4 buttons - need to clamp since we're using dx 5
if(mButtoncount > 4) { if(mButtoncount > 4) {
mButtoncount = 2; mButtoncount = 4;
#ifdef _DEBUG #ifdef _DEBUG
printf("WARNING: Clamping to 4 mouse buttons"); printf("WARNING: Clamping to 4 mouse buttons");
#endif #endif