From ef7a4e7ca36245831f056c31931668733a75b434 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 13 Jul 2001 01:21:59 +0000 Subject: [PATCH] Detect more types of IMPS/2 mouse --- src/video/fbcon/SDL_fbevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/fbcon/SDL_fbevents.c b/src/video/fbcon/SDL_fbevents.c index 2a4d8eafa..9c5179979 100644 --- a/src/video/fbcon/SDL_fbevents.c +++ b/src/video/fbcon/SDL_fbevents.c @@ -482,7 +482,7 @@ static int detect_imps2(int fd) #ifdef DEBUG_MOUSE fprintf(stderr, "Last mouse mode: 0x%x\n", ch); #endif - if ( ch == 3 ) { + if ( (ch == 3) || (ch == 4) ) { imps2 = 1; } }