Wed, 22 Mar 2006 07:22:40 +0000 Fixed bug #61
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 07:22:40 +0000] rev 1584
Fixed bug #61 Date: Mon, 24 Feb 2003 13:35:11 +0800 From: "Leonidas" Subject: [SDL] Re: Trigger mouse wheel event -- not in X-environment I have looked into the codes for the IMPS/2 mouse wheel mode of fbcon driver. But I found something weird. Here's the original codes to set a mouse device into IMPS/2 mode in libSDL. In the file src/video/fbcon/SDL_fbevents.c In function static int set_imps2_mode(int fd) ... Uint8 set_imps2[] = {0xf3, 200, 0xf3, 100, 0xf3, 80}; Uint8 reset = 0xff; fd_set fdset; struct timeval tv; int retval = 0; // Set mouse device fd into IMPS/2 mode if ( write(fd, &set_imps2, sizeof(set_imps2)) == sizeof(set_imps2) ) { // ??? then RESET it..??? if (write(fd, &reset, sizeof (reset)) == sizeof (reset) ) { retval = 1; } } ........... Since it sets IMPS/2 mode then reset it, so you will never get a mouse into IMPS/2 mode to use its wheel. What I did to make the wheel usable is remove the RESET codes. .... if ( write(fd, &set_imps2, sizeof(set_imps2)) == sizeof(set_imps2) ) { /* if (write(fd, &reset, sizeof (reset)) == sizeof (reset) ) { } */ retval = 1; } .... And in FB_OpenMouse(_THIS) Make the device /dev/psaux to be setted into imps2 mode such that it can be detected its a imps/2 mouse or not. (my mouse device is on ps2, but the codes only set /dev/input/mice device originally) Then I have done, I can use the mouse wheel when SDL uses frame buff driver. I dont exactly know I did right or wrong, I just change it for my usuage. Correct me please, if I did something wrong. Best regards, Li Tsung Lin IAP Product Dept. Engineer EeRise Corp. (Image Processing System, Computer Vision System) Hsin Tien, Taipei Hsien, Taiwan, R.O.C.
Wed, 22 Mar 2006 07:10:38 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 07:10:38 +0000] rev 1583
*** empty log message ***
Wed, 22 Mar 2006 06:43:25 +0000 Fixed bug #50
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 06:43:25 +0000] rev 1582
Fixed bug #50 Using ctrl-alt-fn for flipping instead of alt-fn may help a few games that actually use that key combination. [Note: This is also consistent with X11 on the Linux console]
Wed, 22 Mar 2006 06:08:59 +0000 Eric rocks. :)
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 06:08:59 +0000] rev 1581
Eric rocks. :)
Wed, 22 Mar 2006 05:59:28 +0000 I'm dumping the old Xcode support, since it's too hard to maintain,
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 05:59:28 +0000] rev 1580
I'm dumping the old Xcode support, since it's too hard to maintain, and SDL no longer builds on MacOS X 10.3 natively, as of the 7.0.4 QuickTime update. MacOS X 10.4 is the new build baseline for the SDL MacOS X packages. ... it would shore be nice if I had it. :)
Wed, 22 Mar 2006 05:50:56 +0000 The exports file is no longer used by the Xcode project
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 05:50:56 +0000] rev 1579
The exports file is no longer used by the Xcode project
Wed, 22 Mar 2006 05:12:07 +0000 Reverted SDL_config.h from accidental checkin. (see Bugzilla #171).
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 Mar 2006 05:12:07 +0000] rev 1578
Reverted SDL_config.h from accidental checkin. (see Bugzilla #171).
Wed, 22 Mar 2006 05:09:27 +0000 GLX_STEREO doesn't have a parameter
Sam Lantinga <slouken@libsdl.org> [Wed, 22 Mar 2006 05:09:27 +0000] rev 1577
GLX_STEREO doesn't have a parameter
Wed, 22 Mar 2006 05:01:49 +0000 Whoops, that shouldn't have snuck in there.
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 Mar 2006 05:01:49 +0000] rev 1576
Whoops, that shouldn't have snuck in there.
Wed, 22 Mar 2006 05:00:59 +0000 Updated dynamic X11 code. See details in Bugzilla #170.
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 Mar 2006 05:00:59 +0000] rev 1575
Updated dynamic X11 code. See details in Bugzilla #170.
(0) -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip