Mercurial > sdl-ios-xcode
changeset 60:e093bbc72ab9
*** empty log message ***
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Mon, 11 Jun 2001 22:54:34 +0000 |
parents | b685c94f8db7 |
children | 994ed1d668e7 |
files | src/video/fbcon/SDL_fbevents.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 {