# HG changeset patch # User Sam Lantinga # Date 994987319 0 # Node ID a746656b75990c9c60fb6627046319b4ffbe6413 # Parent e599cc4485fab31a5abb857dd89119f9cb6ab263 Detect more types of IMPS/2 mouse diff -r e599cc4485fa -r a746656b7599 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; } }