# HG changeset patch # User Sam Lantinga # Date 992300074 0 # Node ID e093bbc72ab9abd0d95fe0d0a35c158a8abaf68c # Parent b685c94f8db7b20ede98ad04787da26f90f6a395 *** empty log message *** diff -r b685c94f8db7 -r e093bbc72ab9 src/video/fbcon/SDL_fbevents.c --- a/src/video/fbcon/SDL_fbevents.c Mon Jun 11 15:48:32 2001 +0000 +++ b/src/video/fbcon/SDL_fbevents.c Mon Jun 11 22:54:34 2001 +0000 @@ -444,9 +444,6 @@ imps2 = 0; - /* rcg06112001 Attempt to set IMPS/2 mode first, even with envr var... */ - set_imps2_mode(fd); - if ( getenv("SDL_MOUSEDEV_IMPS2") ) { imps2 = 1; } @@ -544,6 +541,9 @@ mouse_fd = open("/dev/input/mice", O_RDONLY, 0); } if (mouse_fd >= 0) { + /* rcg06112001 Attempt to set IMPS/2 mode first, even with envr var... */ + set_imps2_mode(mouse_fd); + if (detect_imps2(mouse_fd)) { mouse_drv = MOUSE_IMPS2; } else {