Tue, 31 Jan 2006 14:59:43 +0000 Date: Sat, 14 Jan 2006 15:16:01 -0500
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 14:59:43 +0000] rev 1302
Date: Sat, 14 Jan 2006 15:16:01 -0500 From: Andrew Fuller Subject: [SDL] [PATCH] ML-8866 PS2->USB converter This converter seems to go by several names -- Super Dual Box, Dual USB Joypad, and who knows what else. Also branded differently with different colour cases, etc. But it seems to all be the same internals. It is a common converter used for StepMania, with several posts Googleable trying to make it work in Linux. I got mine yesterday and wanted to play stepmania, so I went ahead and made a crude patch for libsdl to split this baby into two logical joysticks. A couple notes about the patch: This patch works well for two dance mats hooked up and playing stepmania, however the mapping of the other buttons may be off. I have no joystick which uses all the buttons the converter reports, so I have no way of testing them. The name I used 0925:8866 which is the USB ID, and what SDLjoytest-GL reported is the name, even though lsusb shows Wisegroup, Ltd MP-8866 Dual USB Joypad, and the existing virtual joystick mapping uses the Wisegroup... name. Not sure why the discrepency. I'm not subscribed to this mailing list, so please CC me on any comments to this. -Andrew
Tue, 31 Jan 2006 01:16:21 +0000 Oops
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 01:16:21 +0000] rev 1301
Oops
Mon, 30 Jan 2006 18:56:30 +0000 Removed some old Mac OS X cruft.
Ryan C. Gordon <icculus@icculus.org> [Mon, 30 Jan 2006 18:56:30 +0000] rev 1300
Removed some old Mac OS X cruft. Fixes Bugzilla #64. --ryan.
Mon, 30 Jan 2006 18:21:44 +0000 Corrects dynamic X11 code on Tru64 systems.
Ryan C. Gordon <icculus@icculus.org> [Mon, 30 Jan 2006 18:21:44 +0000] rev 1299
Corrects dynamic X11 code on Tru64 systems. Fixes Bugzilla #87.
Mon, 30 Jan 2006 14:27:56 +0000 This library is now available under the LGPL 2.1, the major change of which
Sam Lantinga <slouken@libsdl.org> [Mon, 30 Jan 2006 14:27:56 +0000] rev 1298
This library is now available under the LGPL 2.1, the major change of which is allowing linking with a shared object to be considered sufficient for complying with section 6 of the LGPL.
Mon, 30 Jan 2006 13:32:31 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Mon, 30 Jan 2006 13:32:31 +0000] rev 1297
*** empty log message ***
Mon, 30 Jan 2006 13:30:44 +0000 Fixed crash:
Sam Lantinga <slouken@libsdl.org> [Mon, 30 Jan 2006 13:30:44 +0000] rev 1296
Fixed crash: #include <SDL.h> int main(int argc, char** argv) { SDL_Init(SDL_INIT_EVERYTHING); SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN); SDL_ShowCursor(SDL_DISABLE); SDL_Delay(1000); SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN | SDL_OPENGL); SDL_Quit(); printf("Everything okay\n"); }
Mon, 30 Jan 2006 06:56:10 +0000 Date: Sun, 6 Mar 2005 17:06:20 +0100
Sam Lantinga <slouken@libsdl.org> [Mon, 30 Jan 2006 06:56:10 +0000] rev 1295
Date: Sun, 6 Mar 2005 17:06:20 +0100 From: Per Inge Mathisen Subject: [SDL] Fullscreen refresh on win32 Windows has a terrible default for fullscreen 3D apps of 60mhz refresh rate. This can be fixed by the user by going into his driver's control panel and forcing the refresh rate higher. However, this not a very user friendly way about it, and in any case SDL contains no code that could figure out this that condition has afflicted the user. So the question is, could SDL fix this for the user? It is possible under Windows to request a higher refresh rate. The danger is of course that if the user has an old monitor, and you request a too high refresh rate, the monitor could be damaged. However, I believe there might be a way around that: Check before switching what refresh rate the user's desktop runs in, and if our fullscreen dimensions are equal or less than those of the desktop, use the higher refresh rate of 60 and the desktop rate. Since most users run their desktops in the same or higher resolution something sane, this should fix this problem for most users. Thoughts? An alternative is to add an SDL_GL_GetAttribute(SDL_GL_REFRESH_RATE) option so that programs can bitch at their users at their own convenience. - Per
Sun, 29 Jan 2006 23:14:04 +0000 Date: Fri, 18 Feb 2005 20:49:35 +0200 (EET)
Sam Lantinga <slouken@libsdl.org> [Sun, 29 Jan 2006 23:14:04 +0000] rev 1294
Date: Fri, 18 Feb 2005 20:49:35 +0200 (EET) From: ville Subject: [SDL] Changing, at least some, anonymous enums to named enums. Howdy, Could, some if not all, enums be named rather than being anonymous enums? I ran into troubles with the enum describing event types in SDL_events.h. The problem is that an anonymous enum cannot be used in C++ templates like so: enum { C }; template< typename T > void f( T ) { } f( C );
Sun, 29 Jan 2006 23:06:05 +0000 Added some useful command line arguments for testing
Sam Lantinga <slouken@libsdl.org> [Sun, 29 Jan 2006 23:06:05 +0000] rev 1293
Added some useful command line arguments for testing
(0) -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip