diff 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
line wrap: on
line diff
--- a/src/video/fbcon/SDL_fbevents.c	Fri Jul 13 01:21:35 2001 +0000
+++ b/src/video/fbcon/SDL_fbevents.c	Fri Jul 13 01:21:59 2001 +0000
@@ -482,7 +482,7 @@
 #ifdef DEBUG_MOUSE
 fprintf(stderr, "Last mouse mode: 0x%x\n", ch);
 #endif
-			if ( ch == 3 ) {
+			if ( (ch == 3) || (ch == 4) ) {
 				imps2 = 1;
 			}
 		}