Detect more types of IMPS/2 mouse
authorSam Lantinga <slouken@lokigames.com>
Fri, 13 Jul 2001 01:21:59 +0000
changeset 104 a746656b7599
parent 103 e599cc4485fa
child 105 2136ea8953f9
Detect more types of IMPS/2 mouse
src/video/fbcon/SDL_fbevents.c
--- 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;
 			}
 		}