From f4969ff5614ac8f9a8b0c1b91ff3bcd365ebef55 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40105 --- 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; } }