*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4061
This commit is contained in:
parent
24b54aa981
commit
79c2803acf
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue