changeset 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 e599cc4485fa
children 2136ea8953f9
files src/video/fbcon/SDL_fbevents.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 			}
 		}