Commit 79c2803a authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4061
parent 24b54aa9
......@@ -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;
}
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment