comparison src/video/fbcon/SDL_fbevents.c @ 104:a746656b7599

Detect more types of IMPS/2 mouse
author Sam Lantinga <slouken@lokigames.com>
date Fri, 13 Jul 2001 01:21:59 +0000
parents e85e03f195b4
children 5a9c36a45db1
comparison
equal deleted inserted replaced
103:e599cc4485fa 104:a746656b7599
480 480
481 /* Experimental values (Logitech wheelmouse) */ 481 /* Experimental values (Logitech wheelmouse) */
482 #ifdef DEBUG_MOUSE 482 #ifdef DEBUG_MOUSE
483 fprintf(stderr, "Last mouse mode: 0x%x\n", ch); 483 fprintf(stderr, "Last mouse mode: 0x%x\n", ch);
484 #endif 484 #endif
485 if ( ch == 3 ) { 485 if ( (ch == 3) || (ch == 4) ) {
486 imps2 = 1; 486 imps2 = 1;
487 } 487 }
488 } 488 }
489 } 489 }
490 return imps2; 490 return imps2;