Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed Jun 11, 2001
1 parent 4735e2c commit ba0603e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/fbcon/SDL_fbevents.c
Expand Up @@ -444,9 +444,6 @@ static int detect_imps2(int fd)

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;
}
Expand Down Expand Up @@ -544,6 +541,9 @@ fprintf(stderr, "Using GPM mouse\n");
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 {
Expand Down

0 comments on commit ba0603e

Please sign in to comment.